changing actors speed after it was already defined
allc1865
Member, PRO Posts: 777
I have the speed of my actor controlled using the rotate to position actor.
I want to create mud, that, once stepped in, slows the actor down.
I've tried saying, when actor collides > rotate to position > speed > 50, but unfortunately that doesn't work.
Any advice?
Thanks
Comments
Are you saying that the actor is already rotating and then collides with mud and should then continue rotating but at a slower speed? Make sure that the initial Rotate to Position behavior isn't still running when you introduce a second behavior at a slower speed.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Like this?
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Yes, yes, yes!
I got it wrong. It's actually the Move To behavior, not the Rotate To Position one, but they both work in the same way.
Thank you!
@tatiang
You're welcome!
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User