playMaker

Author Topic: Move Relative to camera - Rigid body how to?  (Read 1321 times)

Qbanyto

  • Full Member
  • ***
  • Posts: 138
  • Vista Larga, Paso corto
Move Relative to camera - Rigid body how to?
« on: August 21, 2020, 10:28:59 AM »
Hey guys. I feel we should dig into this one.

I’m creating a third person platformer (think mario 64)
Character controller works very well for this. But the jump system is either impossible or sucks. I figured out a way to jump using character move in conjunction With itween’s “punch move”. So the jump it’s self works.

But I can’t control mid air movement. It’s either jump forward or jump up.

I’m thinking a rigid body player can achieve this? Or is there a way to make a charter controller do it?

I tried adding controls while in air using an “in air “ FSM.
But if I went the rigid body route then this leads to my actual question:

I can move my character left and right and up and down the axis’s.
But how do I move a rigid player relative to the camera like the character controller does ?

Qbanyto

  • Full Member
  • ***
  • Posts: 138
  • Vista Larga, Paso corto
Re: Move Relative to camera - Rigid body how to?
« Reply #1 on: August 21, 2020, 06:51:42 PM »
ok i figured it out by using get axis vector (just like i do with character controller) but I use translate to move him. ok ok  this is good. but the jump is now not working. I use add force he goes flying around in the air. i will read around the forums and play with the gravity to see whats up with that.