Maintaining a minimum velocity and a constant velocity
I have 2 actors, i need to have my 1st actor which is a ball to maintain a minimum velocity of atleast 100
I need my 2nd actor which also collides a lot to have a constant velocity throught level.
I did this if selfmotionlinearvelocity is less than 100 than selfmotion linearvelocity is 100
But it doesnt seem to work
Any1 knows how to do it
I need my 2nd actor which also collides a lot to have a constant velocity throught level.
I did this if selfmotionlinearvelocity is less than 100 than selfmotion linearvelocity is 100
But it doesnt seem to work
Any1 knows how to do it
Best Answer
-
MotherHoose Posts: 2,456
the Collide Behavior changes the velocity
if the velocity is to remain constant … add no behaviors to change it
for collision effects with constantVelocity:
Rule: when
Event: overlaps or collides with actor with tag collider
-do something
this has sample code and uses no walls …
demo: http://www.mediafire.com/?6tda60900np8l9lMH