Movement settings through code
Damien
Member Posts: 8
I am having problems with turning my objects "Physics>Movement" parameter on and off through code when the game is running. Starting with the object moving, I want it to stop when it gets to a certain point, without using collision.
The parameter changes to false correctly, but the object keeps moving.
Thoughts? Thanks,
:Damien
The parameter changes to false correctly, but the object keeps moving.
Thoughts? Thanks,
:Damien
Comments
So that leaves me with, if you can change variables through code, but nothing happens when it should, is this a bug?
Cheers,
Once it gets to a spot, I think you can use a Change Velocity to 0 speed.
To counteract gravity, add an acceleration in the opposite direction.