alice-teacher How to orient part of an object to another object

Findley, Scott SFindley at sd43.bc.ca
Thu Nov 24 17:29:37 EST 2011


Don,
Still having issues with the axis. Here's a response from the student:

I want my lighthouse to point at the helicopter as seen by the light house's y axix (the green one) Currently, the point at is making the lighthouse point it's z or x axis (the red one) at the helicopter. How do I get the lighthouse's y axis to point at the helicopter regardless of where the helicopter is in the world?

Suggestions? Help? I've attached a copy of his Alice file.



Thanks,
Mr. Scott Findley 
sfindley at sd43.bc.ca
Gleneagle Secondary School http://gleneagle.org
Mr. Findley's Homeroom Site    Twitter @ rsfindley    Mr. Findley's Blog @ Posterous    Writing 12 Posterous Site     
1195 Lansdowne Drive, Coquitlam, BC V3B 7Y8  604.464.5793 / 604.464.5796 (F) 
While email is repeatedly checked, I typically reserve an hour daily for correspondence. Should you need a more immediate reply, please flag your message as urgent. Any emails received without a clear indication of the sender will receive no response.

This e-mail (including attachments, if any) may be privileged and/or confidential, and the sender does not waive any related rights and obligations. Any distribution, use or copying of this e-mail or the information it contains by other than an intended recipient is unauthorized. If you received this e-mail in error, please advise me (by return e-mail or otherwise) immediately.

Unless absolutely necessary, please do not print this email for environmental reasons. 

-----Original Message-----
From: alice-teachers-bounces+sfindley=sd43.bc.ca at lists.andrew.cmu.edu [mailto:alice-teachers-bounces+sfindley=sd43.bc.ca at lists.andrew.cmu.edu] On Behalf Of Don Slater
Sent: Thursday, November 24, 2011 6:16 AM
To: Alice educators
Subject: Re: alice-teacher How to orient part of an object to another object

You might take another object, perhaps something from the shapes gallery, put it at the tip of the lighthouse, set its "is showing" property to false, set its "vehicle" property to the lighthouse, and then the lighthouse movements can be based on the "as seen by" modifier referencing this invisible object.

Please let me know if you have any questions.

Later,
Don Slater

On Nov 23, 2011, at 5:08 PM, Findley, Scott wrote:

> I have a student who wants to have the lighthouse 'launch' itself at a helicopter off in the distance, yet when he "Point at" a helicopter on the horizon, yet the lighthouse uses it's centre axis/point instead of the tip/point (much like a missile). Any suggestions?
>  
>  
>  
> _______________________________________________
> alice-teachers mailing list
> alice-teachers at lists.andrew.cmu.edu
> https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers

_______________________________________________
alice-teachers mailing list
alice-teachers at lists.andrew.cmu.edu
https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Kraemer_Nicholas_Project_Lighthouse.a2w
Type: application/octet-stream
Size: 724631 bytes
Desc: Kraemer_Nicholas_Project_Lighthouse.a2w
Url : https://lists.andrew.cmu.edu/mailman/private/alice-teachers/attachments/20111124/a602cf94/attachment-0001.obj 


More information about the alice-teachers mailing list