playMaker

Author Topic: Move in the direction of where you are looking  (Read 927 times)

wuannetraam

  • Playmaker Newbie
  • *
  • Posts: 12
    • View Profile
Re: Move in the direction of where you are looking
« Reply #15 on: May 14, 2020, 01:20:42 AM »
Thanks I have changed it to Velocity. I was already looking at "clamp" but I don't get what i actually have to clamp and how I assign it to the movement.

Im using a rigid body. I know i can clamp for example a float value. but I dont get where I need to put the clamped float. Do i need to add that to a new action?

Hey Maarten

What speed do you want to limit exactly?

I'm unsure about what you mean, the max speed the character moves at is determined by the two multipliers in the starting state and thus should never exceed that speed.

Or do you mean the speed at which the character is accelerating?
I overlooked that. However after adjusting it it accelerates slower but it's not ilmited to a max speed I noticed. Im using Rigid Body not the Character Controller. Can that be the reason it doesn't work?

wuannetraam

  • Playmaker Newbie
  • *
  • Posts: 12
    • View Profile
Re: Move in the direction of where you are looking
« Reply #16 on: May 14, 2020, 01:42:17 AM »
@LordHorusNL  Looks like i fixed it. I've removed Add Force and replaced it with Set Velocity. Now the max speed does work.

LordHorusNL

  • Beta Group
  • Full Member
  • *
  • Posts: 184
    • View Profile
Re: Move in the direction of where you are looking
« Reply #17 on: May 14, 2020, 09:28:10 AM »
Good to hear.

Non kinematic "rigidbody" character controllers or movement can be a pain in the ass to work with especially in VR. :P