playMaker

Author Topic: Jump controls with Character Controller[SOLVED]  (Read 2463 times)

Pringlestache

  • Playmaker Newbie
  • *
  • Posts: 2
Jump controls with Character Controller[SOLVED]
« on: December 09, 2018, 02:24:59 PM »
Hey guys!

Is it possible to get midair controls while jumping/falling with the Character Controller with Playmaker?

I've been trying for a couple of days now, and can't quite get it to work.

The setup I have for the movement right now is Get Axis Vector, Controller Simple Move and Smooth Look At Direction, while jumping is basically just handled by moving the character up with iTween and letting gravity handle the falling.

I don't want to use a Rigidbody for my character, but still want to have some control when jumping, so any tips are appreciated.
Thanks in advance! :)
« Last Edit: December 17, 2018, 04:42:45 AM by jeanfabre »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Jump controls with Character Controller
« Reply #1 on: December 10, 2018, 05:00:31 AM »
Hi.
The character controller is build for quick testing and is not suitable for jumping,

It is best to build your own controller by using get axis and 'set velocity' or 'add force'

Then use another fsm to handle jumping.

If you want gravity handle falling you will need a Rigidbody

Pringlestache

  • Playmaker Newbie
  • *
  • Posts: 2
Re: Jump controls with Character Controller
« Reply #2 on: December 13, 2018, 06:43:12 AM »
Got it working with Rigidbody and Set Velocity after some tweaking. Thanks for the quick reply! :)