Hi all,
I have an object which I need to be stationary UNTIL an action has been made (it's a locked door which falls open due to gravity when you blah blah blah)
anyways, I am using the following code:
if trigger = 1
phy set rigid body linear velocity 1114, phy get rigid body linear velocity x(1114), phy get rigid body linear velocity y(1114), phy get rigid body linear velocity z(1114)
else
phy set rigid body linear velocity 1114, 0, 0, 0
endif
it all works well EXCEPT for... if you sit and watch the object it gradually falls due to gravity. Only very slowly, about 1 pixel every 5 seconds. Due to the door being quite a way into the level, by the time you get to it, it's already fallen enough to squeeze through.
Why does this occur and how do i overcome it?
Cheers....