playMaker

Author Topic: How to freeze/stop character  (Read 1207 times)

EverySingleSoldier

  • Playmaker Newbie
  • *
  • Posts: 26
How to freeze/stop character
« on: August 01, 2019, 04:07:21 PM »
Is there a way to just cancel all physics / force vectors on a character and just make it stop ?

Ie just cancel all ‘Set velocity’ actions and just reset to character to be static ?

TheNecron

  • Playmaker Newbie
  • *
  • Posts: 17
Re: How to freeze/stop character
« Reply #1 on: August 01, 2019, 11:56:16 PM »
Does just setting the velocity to 0,0 with Set Velocity work?

daniellogin

  • Full Member
  • ***
  • Posts: 215
Re: How to freeze/stop character
« Reply #2 on: August 02, 2019, 06:25:50 AM »
Is there a way to just cancel all physics / force vectors on a character and just make it stop ?

Ie just cancel all ‘Set velocity’ actions and just reset to character to be static ?

OK so you can target stuff specifically with Set Velocity (directional movement) and Set Angular Velocity (rotation force). Maybe the angular one is on the Ecosystem, so you will just have to download it from there.

However another way to do it is to flip your object to Kinematic and then turn it off again. Kinematic means that the physics won't apply, so in effect that will cancel all physics already applying to the object and it will be all zeroed out when you turn Kinematic back off again.
For this you can use Set Is Kinematic

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: How to freeze/stop character
« Reply #3 on: August 03, 2019, 01:30:36 AM »
Hi.
@daniellogin

I never tried using Is Kinematic.
I will definitely try this as well.
Thanks for the tip.