Scene.camera.follow?
5 posts • Page 1 of 1
Scene.camera.follow?
I am spawning an object and I want the camera to follow it. I have tried Scene.camera.follow:=true and a few other things with no luck. I have also searched the forum but no luck there either. Is there a code for this? TIA
My scenes: http://www.algodoo.com/algobox/search.p ... ction=DESC
My Phun youtube clips: http://www.youtube.com/user/yukinfahoo
My Phun youtube clips: http://www.youtube.com/user/yukinfahoo
-

Wild Bill - Posts: 129
- Joined: Mon Aug 31, 2009 5:50 pm
Re: Scene.camera.follow?
algodoo saves the object that is being tracked by using a group
so, unless you can edit group and grab the entity id of the object you want to follow, you might have to find a mechanical way of doing it.
- Code: Select all
Scene.addGroup {
name := "tracked";
entityIDs := [107]
};
so, unless you can edit group and grab the entity id of the object you want to follow, you might have to find a mechanical way of doing it.
When asking for help, READ THE STICKIES!
- electronicboy
- Posts: 1694
- Joined: Mon Aug 31, 2009 6:18 pm
Re: Scene.camera.follow?
Thanks, I may be able to use that.
My scenes: http://www.algodoo.com/algobox/search.p ... ction=DESC
My Phun youtube clips: http://www.youtube.com/user/yukinfahoo
My Phun youtube clips: http://www.youtube.com/user/yukinfahoo
-

Wild Bill - Posts: 129
- Joined: Mon Aug 31, 2009 5:50 pm
Re: Scene.camera.follow?
If he is spawning an object that he wants the camera to follow, then wouldn't he be able to make the entityID whatever he wants? And then spawn that group within the same script? As in...
Maybe?
- Code: Select all
Scene.addCircle {
entityID := 107
};
Scene.addGroup {
name := "tracked";
entityIDs := [107]
};
Maybe?
Matthias Wandel is epic, in my humble opinion.
I love my brain...
ARE YA HAPPY NOW?????
Thymechanic/Phundamentalist
Recently, I discovered something a lot of you probably already knew: Minecraft is awesome.
Due to this, I may not be as active as usual for a while.
I love my brain...
TC42 wrote:Also, your sig is too big, please change it.
ARE YA HAPPY NOW?????
Thymechanic/Phundamentalist
Recently, I discovered something a lot of you probably already knew: Minecraft is awesome.
Due to this, I may not be as active as usual for a while.
-

Someone Else - Posts: 1147
- Joined: Sun Nov 21, 2010 10:53 pm
- Location: The Milky Way Galaxy
Re: Scene.camera.follow?
Actually I have tried the Scene.addGroup, entity id number and a lot of other things and nothing has worked so far. I will try more later but thanks for the help anyways.
My scenes: http://www.algodoo.com/algobox/search.p ... ction=DESC
My Phun youtube clips: http://www.youtube.com/user/yukinfahoo
My Phun youtube clips: http://www.youtube.com/user/yukinfahoo
-

Wild Bill - Posts: 129
- Joined: Mon Aug 31, 2009 5:50 pm
5 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests



