1. #1

    Stable custom game character

    Hello. I have a custom game character (a robot, box shaped) locked to driving line, angular damping 100%, yet there are times when it still falls over, such as when most of the body is hanging over a ledge. how can I prevent this from happening?
    I need disable world gravity unchecked too.
    Share this post

  2. #2
    dasraizer's Avatar Senior Member
    Join Date
    Apr 2014
    Location
    UK, Isle of Wight
    Posts
    1,195

    Re: Stable custom game character

    just a thought, maybe set some directional forces to take the readings from the angular velocity of the glue pivot and use these to thrust your object to true.
    Share this post

  3. #3

    Re: Stable custom game character

    Maybe set forces to be applied to your character when his angle is greater than a maximum angle set by you?
    Share this post

  4. #4

    Re: Stable custom game character

    Yeah, gonna have to be area affectors following the robot with OPEs.

    I dont see any other reliable way.
    Share this post

  5. #5

    Re: Stable custom game character

    Originally Posted by apdenton1
    Yeah, gonna have to be area affectors following the robot with OPEs.

    I dont see any other reliable way.
    Maybe you could try attatching him to a slider which allows full movement but no rotation?
    Share this post

  6. #6

    Re: Stable custom game character

    Originally Posted by James24993
    Originally Posted by apdenton1
    Yeah, gonna have to be area affectors following the robot with OPEs.

    I dont see any other reliable way.
    Maybe you could try attatching him to a slider which allows full movement but no rotation?
    Not bad, I'll give it a try. That is if sliders allow more than 1 axis anyway.
    Share this post

  7. #7
    RetiredRonin's Avatar Senior Community Manager
    Join Date
    Sep 2012
    Location
    Ubisoft NC Office
    Posts
    7,343

    Stable custom game character

    They'll allow for 3.
    Share this post

  8. #8

    Re: Stable custom game character

    Didn't work

    need a fix for this....but nothing works!

    Wait a sec.... what if I make the game character the rider, but have the camera follow custom GC instead, and physics joint the rider to custom GC, put the rider a bike holder up in the sky. That way I could have checkpoints at least, which will reset physics proper.

    Hmnn just had another idea for an OPE substitute too.
    Share this post

  9. #9

    Re: Stable custom game character

    Ok niether of those worked...maybe if I glue a bike holder to Custom GC then move it in the sky with rider instead.

    EDIT: Nope......hmnn

    Ahh I think I got it this time!

    Yes, thank **** for that....well it is half fixed anyway, but should be fine.
    Share this post