Change direction. Pls Help !!
hi everyone
Can anyone help with this problem please ?
I have two vertical boundary actors at the edge of the screen and want my platform actor to move between them.
I start the platform actor moving by using an "Accelerate" behaviour.
I have tried using this method found in the forums :
changeAttribute (self.motion.linear velocity.x) to -(self.motion.linear velocity.x)
but the platform actor just seems to bounce on the first vertical boundary it encounters !
Any ideas why ??
Thanks.
Jon
Can anyone help with this problem please ?
I have two vertical boundary actors at the edge of the screen and want my platform actor to move between them.
I start the platform actor moving by using an "Accelerate" behaviour.
I have tried using this method found in the forums :
changeAttribute (self.motion.linear velocity.x) to -(self.motion.linear velocity.x)
but the platform actor just seems to bounce on the first vertical boundary it encounters !
Any ideas why ??
Thanks.
Jon
Comments
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
I've just sorted it out.
I changed the "accelerate" to a "change velocity" to start the motion.
All works fine now.
Cheers.
Jon