Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
Help!!!!!!
Old
jhelms87
Guest
 
Status:
Posts: n/a
Unhappy Help!!!!!! - 02-19-2010, 06:57 PM

yes i am on chapter 4 and im doing exercise 4-1 snowman tip hat. i can get the arm to move to the snowmans hat but when i set the vehicle property for the hat it moves when the arms rolls up to the hat and the hat moves away from the arm
   
Reply With Quote
Old
x2495iiii
Super Moderator
 
x2495iiii's Avatar
 
Status: Offline
Posts: 3,508
Join Date: Dec 2008
Location: Somewhere in the Continental U.S.
Default 02-19-2010, 11:16 PM

That's because you've set the vehicle property to the arm before the world's even started, meaning the hat will move with the from the beginning of the world onward.

Think about this: in reality, the hat doesn't move with the arm until the arm (and the hand) are grabbing onto the hat. So, to properly simulate it in Alice, you need to make the hat only move with the arm when the arm is grabbing onto the hat, not before.

(Hint: you can drag almost anything onto the command area in Alice...)


(')>
   
Reply With Quote
Reply

Thread Tools
Display Modes

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 Jump



Copyright ©2021, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.