And I am expecting to the camera to follow the ball as it moves. But it's not working (the ball moves and leaves the viewport eventually). Could someone explain how to make it work?
Erik Onarheim
unread,
Nov 18, 2017, 11:05:17 AM11/18/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
In order for `setActorToFollow()` to work the base camera needs to be replaced with a new implementation called `ex.LockedCamera`. I have a pen with an example here: