Game Development Reference
Keep that in mind because this is what the actual code looks like:
Is that making a little more sense now?
But how is the code actually picking up and dropping the object? First, let's look at the directives that
pick up the apple:
You used the ]``?deh` method to make the ]llha a child object of the lh]uan object. So like a baby
duckling, wherever the lh]uan goes, the ]llha is sure to follow.
You then set the t and u position of the apple to ,. Because the ]llha is now a child of the lh]uan
object, it uses the lh]uan object's coordinate system. An t and u position of , positions it in the very
center of the lh]uan object. For your purposes, this happens to be very conveniently on the tip of the