playMaker

Author Topic: Issues with Character Controller and Controller Simple Move  (Read 1146 times)

Bender

  • Playmaker Newbie
  • *
  • Posts: 34
Issues with Character Controller and Controller Simple Move
« on: November 03, 2022, 01:48:57 PM »
If you use for movement Character Controller with Controller Simple Move, you can't save and then load the position, and many other options. That is, you can load a position only once. The second time doesn't work. There are some problems with Character Controller and Controller Simple Move.
Therefore I am forced to use Get Axis with Translate. But in this case, I don't know how the controls will work on game consoles, etc.

I spent a week until I figured out what the problem was, why I couldn't load the position more then once.

Please, fix it.
« Last Edit: November 03, 2022, 01:51:06 PM by Bender »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Issues with Character Controller and Controller Simple Move
« Reply #1 on: November 05, 2022, 12:51:55 AM »
Hi.
Character Controller is good for quick prototyping but far from ideal for full game.
you can try disabling 'Simple Move' (go to a state without the action or disable the fsm)
then set position.
If that does not work then the issue is on the character controller component.

but again its better to build your own controller, the controls will work the same for other platforms


Bender

  • Playmaker Newbie
  • *
  • Posts: 34
Re: Issues with Character Controller and Controller Simple Move
« Reply #2 on: February 04, 2023, 03:50:41 AM »
Hi.
How to make your own controller? Are there any tutorials? I use rigidbody.

Using a Translate is no good since I get jittering. Is there some other good way?
« Last Edit: February 04, 2023, 04:36:05 AM by Bender »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Issues with Character Controller and Controller Simple Move
« Reply #3 on: February 04, 2023, 11:38:05 AM »
Hi.
for movement you can use Set velocity or set forward velocity
for jump you can also use velocity or Force.
use separate fsm for jump