playMaker

Author Topic: Jittering on collision  (Read 1908 times)

SammyJoeUK

  • Playmaker Newbie
  • *
  • Posts: 32
Jittering on collision
« on: October 05, 2014, 06:27:37 AM »
Hey folks,

Another Playmaker question... Obviously

Thanks for being so helpful in my last question but I've hit another snag. I'm using Translate to move my 2D sprite but when he collides with a box collider or any other type of collider - it jitters constantly. From my understanding, the sprite isn't stopping when it hits the collider and is still trying to force its way through.

Could anybody give me an idea as to how to get this jitter to stop and just to have the character stop when it hits a collider?


jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Jittering on collision
« Reply #1 on: October 05, 2014, 06:41:26 AM »
Hi,

 you should only use "add force" to move rigidbodies. I think you are facing the issue where if you try to translate a rb suing it's transform then there is a conflict between where the transform wants to go and where the physics simulation tells it where to be.

Bye,

 Jean

Bender

  • Playmaker Newbie
  • *
  • Posts: 34
Re: Jittering on collision
« Reply #2 on: February 04, 2023, 07:40:55 AM »
Same issue.
1) If I use Character Controller, I can't save a position.
2) If I use Rigidbody, I get jittering.

I'm using Translate for moving a Player. And as I understand it, for its movement it is impossible to use Add Force.
I've been stuck for a long time now. Is there really no normal solution for character movement?