Dynamically rotate around center

alladinianalladinian Member Posts: 7
edited November -1 in Working with GS (Mac)
Hi guys,
Does anyone have a good suggestion on how to make an actor rotate around its center when another actor collides with him?
For example, like the helix of an airplane rotates when you push it with your hand...
(I'm talking about a dynamic rotation here (e.g. the rotation depends on the force) - not a rotation behaviour that triggers upon a collision). I hope that it makes sense...

Comments

  • AsymptoteellAsymptoteell Member Posts: 1,362
    Constrain its X and Y positions to whatever you want those to be and make sure fixed rotation is unchecked. Then make it collide with those actors: it should dynamically spin without actually moving too.

    Hope that works.

    Asymptoteell
  • alladinianalladinian Member Posts: 7
    But how is it possible to even rotate if I constrain its X and Y values? Wouldn't I "pin" the actor to a fixed position if I constrain its X,Y ?
  • alladinianalladinian Member Posts: 7
    Just Checked it... Asymptoteell you're absolutely right. I just now realized that X, Y values were referring to object's center. Thanx a lot !
  • AsymptoteellAsymptoteell Member Posts: 1,362
    Absolutely! If there's anything else you need help with, just ask.
Sign In or Register to comment.