how to stop or reduce speed of a moving actor when it collides with an actor.
CodeArtOnline
Member Posts: 84
how to stop or reduce speed of a moving actor when it collides with an actor.
Example: i have a player coming in speed 600. when it collides with a actor which will be invisible , then the speed o the actor should become 0. but not suddenly it should be like fading its speed to 0.. hope you understand what i'm trying to say.
Comments
Interpolate is your friend.
You should do a rule to the tune of:
When Actor 1 collides with Actor 2
Interpolate Actor 1.Speed to 0 over (duration) 1 (or 2 or whatever) seconds you wish.
Let us know how you did!
My Blog / App Store / Google Play
it worked !!! thankssss brahhh @mhedges Awesomeee