Forum Discussion
Motion Paths Issue
- 4 months ago
Happy to hear it'll work out for ya. To create the "Face Left" state of your character, I created a custom state, cut (Ctrl+X) your character image, and then pasted her back in. Doing this made it possible to access Rotate options. As far as why your original motion path was a little choppy...it may have to do with having the "In & Out" easing in place:
I think you should consider adding more variables to manage each path option more effectively. You could use separate variables for the following transitions:
- Initial to Rules
- Initial to Restricted
- Rules to Restricted
- Restricted to Rules
Alternatively, you could use a single text variable (e.g., Direction) that dynamically updates based on which button (Rules or Restricted) has been clicked. For instance:
- When the Rules button is clicked, the Direction variable is updated to "InitialToRules", and the backpacker is moved to the Rules point if Direction equals "InitialToRules".
- When the Restricted button is clicked (moving from the Rules point to the Restricted point), the Direction variable should change to "RulesToRestricted", and the backpacker is moved to the Restricted point if Direction equals "RulesToRestricted".
- Finally, when transitioning back from Restricted to Rules (clicking the Rules button), the Direction variable is set to "RestrictedToRules", and the backpacker moves to the Rules point if Direction equals "RestrictedToRules".
By using this approach, you can easily control the movement of the backpacker based on the current state of the Direction variable, simplifying your logic and making it easier to manage the transitions.
For the motion paths, it’s important that the starting and ending points (x, y) are perfectly aligned. Each new path should begin exactly where the previous one ended. In other words, the ending point of one path should match the starting point of the next path. You don’t need to use relative starting points for this setup.
See the attached example. I haven't experimented with motion paths as much as with variables and functionality.
- MarianaEscrzaga4 months agoCommunity Member
thank you very much :) this didn't solve my original question but it showed me a different way to do things.
Related Content
- 11 months ago
- 10 months ago
- 29 days ago