how to stop or reduce speed of a moving actor when it collides with an actor.

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

  • mhedgesmhedges Raised on VCS Member Posts: 634

    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!

  • CodeArtOnlineCodeArtOnline Member Posts: 84

    it worked !!! thankssss brahhh @mhedges Awesomeee

Sign In or Register to comment.