playMaker

Author Topic: Gravity Trouble  (Read 582 times)

spengrantest

  • Playmaker Newbie
  • *
  • Posts: 4
Gravity Trouble
« on: August 28, 2020, 10:18:23 AM »
Hey there, having some trouble with gravity.
Have the angle the character is facing change based on where the camera is positioned. This is fine, up until the point where I look up or down with gravity bound to the Y axis.  While looking straight ahead it's fine, however if I look up my character slides forwards, and if I look down it slides backward. As far as I can tell, the Controller Move action overrides set and use gravity, and attempting to have the character always move towards an object below them causes collission with the floor to stop. Have a Gyazo gif below of what I meant.
Anybody have any ideas as to how to fix this? A bit lost. ^^;
https://i.gyazo.com/5e3bc2546a202e7c75ba0397be70ced6.gif

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Gravity Trouble
« Reply #1 on: August 29, 2020, 01:17:57 AM »
Hi.
we need more info on your setup. fsms/states/actions

how is your camera setup.
(parented or following player)

Are you using a character controller and a rigidbody?
as a character controller works without rigidbody and does not use physics (like gravity) for movement.