Camera Follow
4 posts • Page 1 of 1
Camera Follow
Just a thought, is it possible to define in scipt which object the camera is to follow? That would be a big help.
-
Versieon - Posts: 375
- Joined: Tue Sep 01, 2009 4:45 pm
Re: Camera Follow
Yes that's possible but you need to know the entityID of your object(s).
- Code: Select all
(e) => { Scene.addBox({ entityID := 1; pos := e.pos; size := [1, 1] }); Scene.addGroup({name := "tracked"; entityIDs := [1] }) }
-
KarateBrot - Posts: 825
- Joined: Mon Aug 31, 2009 7:32 pm
- Location: Germany
Re: Camera Follow
Is there a way to stop following the spawned object without destroying it or adding a new object?
-
niffirg1 - Posts: 376
- Joined: Mon Aug 31, 2009 10:31 pm
- Location: The Great American South!
Re: Camera Follow
Yeah, this should work
- Code: Select all
Scene.addGroup({name := "tracked"; entityIDs := [] })
-
KarateBrot - Posts: 825
- Joined: Mon Aug 31, 2009 7:32 pm
- Location: Germany
4 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 5 guests