google-code-export / badquest

Automatically exported from code.google.com/p/badquest
0 stars 0 forks source link

Overhaul EquipmentModule #41

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Rework expected position to be less hacked together and more generalized. Add a 
reference to the host to act as the interface between actor and equipment. Add 
an update method.

Original issue reported on code.google.com by mikeg3...@gmail.com on 17 Nov 2012 at 5:14

GoogleCodeExporter commented 9 years ago
The equipment module will now hold the object's position in polar coordinates 
relative to the host body. Additionally, a tilt value allows for the object to 
hold a rotation relative to the host. A maximum follow distance has been 
implemented to lock equipment at a maximum distance from the host, a distance 
of zero should be used for no trailing effect at all (for example, a player 
helmet).

Original comment by mikeg3...@gmail.com on 17 Nov 2012 at 6:36