Is there a way to change the center point of an actor?

I'd like to be able to change the point at which an Actor rotates, for example a swinging rope that rotates back and forth from the top rather than the center. Is the only option to create an actor that is twice as long and make the upper half invisible?

Thanks.

Best Answer

  • SocksSocks London, UK.Posts: 12,822
    Accepted Answer
    You could try this:

    http://forums.gamesalad.com/discussion/62202/linkmachine

    Using the above, you'd link the tip of your rope to a null object (an invisible actor) and rotate the null object to make the rope swing.

    Personally I'm always tempted - for something as simple as this - to simply make the actor twice as long with an invisible upper half like you say, it's probably less strain on the processor.
Sign In or Register to comment.