Forum Discussion
NalinDubey
2 years agoCommunity Member
Motion path relartive start point- Object falling out of screen
Hi all,
I recently created a gamified learning Course using storyline 3. In this course game I have used motion paths to animate an object to move in 4 directions using 4 interactive keys on the c...
AdamCochran
2 years agoCommunity Member
You could potentially add 4 rectangles outside (top, right, bottom, left) of your working area (offscreen) and set up the trigger to move the main object in the opposite direction (motion path) when your main object and the rectangles interact. Your main object will be confined to the screen and should not move offscreen without moving back onscreen when the main object hits the rectangles.
Trigger Example:
When "mainObject" intersects with "rightRectangle"
- Move "mainObject" along "Left Motion Path"
Hope this helps!