Cant stop my actors from moving past where I've told them to go.
Phoenix256
Member Posts: 42
When I try to make my actors move to a certain point with the move to attribute, but they fly past where I tell them to go. Is there something I'm doing wrong or is there something I should be doing?
Comments
l
Can you upload a screenshot of your rules for this actor.
how do I take a screen shot
Ok I took a screenshot but I cant upload it
Upload images to a file-sharing site and then post/embed the download link here.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Ok so if that worked here is a screenshot of one of the actors that won't work.
I'm assuming that 126, 146 relative to Scene is not where you want your actors to be?
Mathtap.com (Android) | Fridgemanager.com (Android) | Breakoutofspace.com (Android)
no, that's where I told it to go but it goes past that.
@Phoenix256 Hey, instead of using the Move To behavior, try to interpolate self.position.x and self.position.y to wherever you want it to move to. For me it stops where I told it to stop at.
Mathtap.com (Android) | Fridgemanager.com (Android) | Breakoutofspace.com (Android)
ok that makes it stop at the right place but I need to make it go faster and I don't know if I can do that with interpolate
@Phoenix256 Just decrease the time it takes to get there to make it get there faster.
Mathtap.com (Android) | Fridgemanager.com (Android) | Breakoutofspace.com (Android)
It's just moving too fast, it's over shooting its target ! Like Summation says, use Interpolate instead.