Alice Community  

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

Reply
 
Thread Tools Display Modes
fix code for angle correction or how too reset the ground pleaassee??
Old
kevinsauce
Junior Member
 
kevinsauce's Avatar
 
Status: Offline
Posts: 4
Join Date: Feb 2012
Question fix code for angle correction or how too reset the ground pleaassee?? - 02-02-2012, 02:25 PM

i have a simple program were a boat is moving through the water,(keys steer etc) but the boat and ground are at weird angles and the longer the boaot moves the farther into the ground or into the air it goes can someone help me reset the ground or give me some code for an angle correcter
   
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-02-2012, 05:49 PM

There's a method every object has called "stand up." That aligns the object's horizontal axis with the world's. It should make your boat not point up or down, meaning that if the ground is also completely horizontal, the boat won't move up or down relative to it.


(')>
   
Reply With Quote
thannnnkkkkkkkkk you
Old
kevinsauce
Junior Member
 
kevinsauce's Avatar
 
Status: Offline
Posts: 4
Join Date: Feb 2012
Thumbs up thannnnkkkkkkkkk you - 02-02-2012, 08:19 PM

hats off to you sir
   
Reply With Quote
Reply

Tags
angle, ground, help with interactions, reset

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 ©2018, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.