Rotate a moving actor

DoguzDoguz Member Posts: 500

I thought this would be easy. I've applied the attached behaviours and the results aren't what I'd hoped. I'm wanting an actor to move across the screen, rotating (On it's centre axis) Like a rock would rotate. Or a ball would roll along the ground.

But these behaviours don't play nice together. It makes the actor rotate on an axis outside of itself.

Whats the correct way to do it?!

Best Answer

  • jamie_cjamie_c ImagineLabs.rocks Posts: 5,772
    Accepted Answer

    Try moving the actor relative to the scene.

Answers

  • DoguzDoguz Member Posts: 500

    Yep. Thanks @jamie_c

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772

    Sweet, you're welcome.

  • RThurmanRThurman Member, Sous Chef, PRO Posts: 2,881

    @Doguz -- I hope you plan on saving that little 'discovery'! Many GameSalad users accidentally discover that they can change the 'pivot point' of an actor with just a simple combination of a move and a rotate behavior. But most just forget about it. But this can be a very useful (and fun) technique.

  • GrangerMateGrangerMate Member Posts: 1

    Hey guys, I've recently purchased a template from the GS Marketplace (Platform Template1.2) which features a rolling pick ball actor as the hero. I would like to use the many features available on the template but first it has been killing me trying to figure out how to stop the character from rolling so i can implement simple left and right movements.
    Many Thanks

  • RThurmanRThurman Member, Sous Chef, PRO Posts: 2,881

    @GrangerMate -- I would suggest contacting the author/distributor of the template. It sounds like what you are after is completely different than the topic of this thread.

Sign In or Register to comment.