2
$\begingroup$

I created an 'Enemy' object (Rigid Body) which has a 'Weapon' object (Rigid Body as well) as a child and the 'Weapon' object in turn has a child called 'Muzzle' (No collision, an Empty object). The 'Weapon' object rotates with its parent in a normal fashion, but the 'Muzzle' goes on a rather weird trajectory when the 'Enemy' rotates (like a very narrow ellipse, might as well not be an ellipse at all but some other random curve). Any ideas how to solve this? P.S. Sorry for my bad English...

| improve this question | | | | |
$\endgroup$
  • $\begingroup$ You should probably post some screenshots of your scene, objects, logic, constraints, physics options, and other relevant data. Possibly also a as simplified as possible file reproducing the problem $\endgroup$ – Duarte Farrajota Ramos Jun 20 '17 at 23:10
0
$\begingroup$

Make "Muzzle" and "Weapon" one object,with Ctrl J, and set "Enemy" as its parent.

| improve this answer | | | | |
$\endgroup$
  • $\begingroup$ I actually deleted the 'Muzzle' and wrote a script for the 'Weapon' to add a bullet at a certain offset from its own position. Thank you! $\endgroup$ – Octavian Chiliment Jun 21 '17 at 10:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.