making a character immovable?
Hey guys,
I need help making my enemy character immovable because (1) when the player actor collides with them they go sailing off somewhere else, and (2) the enemies will move by themselves without me even colliding with them.
I've tried turning my density way up, but that just ends up crashing my game.
Any help will be great, please. Thank you in advance.
I need help making my enemy character immovable because (1) when the player actor collides with them they go sailing off somewhere else, and (2) the enemies will move by themselves without me even colliding with them.
I've tried turning my density way up, but that just ends up crashing my game.
Any help will be great, please. Thank you in advance.
Best Answers
-
tahakitan Posts: 102
if movable is checked than it is always going to move if you have a collide rule applied with it. you can reduce the movement of the object by adding a constraint attribute to the x and y but it will move a few pixels when you collide with it.
Answers
@Socks
I have fixed rotation and moveable checked so that they can rotate and follow the actor player.
Thanks, @Socks
I am curious, how would you use the Interpolate behavior to change positions?
now he moves to x=100 in 1 second
(usefull for doors, not moveable but can move
You could even use something like this, too maybe?
https://www.dropbox.com/s/74ze6s4ibfnvorv/move_Timer.zip
@timolapre1998
I hope that helps