PDA

View Full Version : Getting Object to Tilt forward into hole


Ylu
07-15-2015, 12:38 AM
I had an assignment and originally thought I could do the following but in the end I gave up and chose something else. I am still curious about how to do this assignment. Can you help ?

I am trying to get a Penguin to waddle towards a hole and then get it to tip forward into that hole and disappear. What methods should be applied to make this happen ? Thanks in advance

MrMoke
07-15-2015, 08:44 AM
Really just the turn forward method. You might then want to experiment with the options available when you click the "more" button of the "turn" command you dragged in.

Don't forget Dummy Objects either.

Ylu
07-15-2015, 02:43 PM
How would I tilt sideways ?

MrMoke
07-15-2015, 05:11 PM
There is no "Tilt" command.
When you click on an object, you will see both the yellow bounding box, and
Also the colored lines that indicate up/down, left/right, and forward/backward. These lines converge at the center point of the objects design.

Just write a short piece of code that tests each of the turn and roll options that are available for the penguin, so you can watch what they do.

Also note that the results are based on the position of the center point, so some objects might not react the same way.

Ylu
07-30-2015, 06:43 PM
Thanks for your help