Jump to content
Aveyond Studios Community
Sign in to follow this  
rujash

Set Velocity 2D and Kinematic

Recommended Posts

Requiring to set an object's velocity to 0 and turn kinematic to prevent movement. Haven't found an action for it.

I also thought of being able to set the same action to Add/Substract from velocity in the X,Y values (for 2D) within the same "SetVelocity" action.

Currently have looked at other actions like Physics2DOnOff but translating the structure has me a bit lost. I can accomplish the same just with a custom script on the object with more ease, but I'd like to utilize HeroKit. 

Current method I looked into was using GetGameObject action and then select the object like in TurnComponentOff.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×