Alice Community
>
Alice 2
>
How do I...?
set pose
User Name
Remember Me?
Password
Thread Tools
Display Modes
set pose
#
1
(permalink)
sph
Guest
Status:
Posts: n/a
set pose -
10-30-2005, 07:28 PM
ummm how to i set a pose with the camera???
kthnxbubye
sph
setting a pose with the camera -> try dummy objects
#
2
(permalink)
pausch
Director of the Alice Project
Status:
Offline
Posts: 38
Join Date: Jul 2005
setting a pose with the camera -> try dummy objects -
10-31-2005, 01:50 PM
If I understand you correctly, you're trying to name a location/orientation that a camera can then be returned to?
In that case, you don't want to pose the camera (which is a reasonable thing to have tried).
Instead, try using a "dummy object."
When you are adding objects, click on the "more controls >>" button.
THen you get a set of controsl, including "drop dummy at camera." That creates a "dummy object" called "Dummy." Then, in your code, you can say
camera.moveTo(Dummy)
Hope this helps!
-- Randy
Randy Pausch
Director of the Alice Project
pausch
View Public Profile
Send a private message to pausch
Find all posts by pausch
#
3
(permalink)
gabe
Administrator
Status:
Offline
Posts: 461
Join Date: Jul 2005
Location: Pittsburgh, PA
10-31-2005, 03:50 PM
Just adding on to what Randy has posted, to get the same camera point of view as when you dropped the dummy object, try using the camera.setpointofviewto(Dummy) method.
gabe
View Public Profile
Send a private message to gabe
Visit gabe's homepage!
Find all posts by gabe
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Switch to Linear Mode
Hybrid Mode
Switch to Threaded Mode
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
BB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Forum Rules
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Announcements
Community News and Announcements
Alice 3
How Do I?
Works In Progress
Share Your World
Share Custom Classes
Bugs and Trouble Shooting
Suggestion Box
Alice 2
How do I...?
Works-In-Progress
Share Worlds
Share Objects
Bugs and Troubleshooting
Suggestion Box
Educators
Teaching with Alice
Teaching Using Alice 3
Teaching Using Alice 2
CS Principles and Alice
AP CSA and Intro to Java and Alice
Workshops
General Discussion
Questions and Comments
The Lounge
Copyright ©2019, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.
Contact Us
-
Alice.org
-
Archive
-
Top