Open vitagrrl opened 7 years ago
actually, this feature was already implemented but for some reason the code handling the rotation of the cloned objects on the clients was commented (NANetwork::CloneObject(), line 201). I am looking at reenabling it.
question is : are we enabling a throw logic for any cloned object ? Or maybe we could implement a charge and launch logic on the cloner tool : you maintain action to charge and when you release a forward force is applied (the longer you maintain, the stronger the force is).
Orientation is fixed.
Ben fixed it too but I didn't see it :-) At least our fix is exactly the same :-)
Trying to make a cloneable object that will "throw" like the cubes. We can kind of do it by applying an initial force when the cloned object is instantiated - but the initial force vector is always (0,0,1) in world space. I can make it apply the force using the rotation of the object, but I can't seem to make the cloned object start off with the orientation of the user.