Need some help on simulating a thrown spear

I am trying to simulate a thrown spear (think olympic games) and have a little trouble with getting it to fly properly. The spear’s rotation is just static instead of landing with the spearhead down (see attached picture).

The spear is launched with:

clone = Instantiate(projectile, transform.position, transform.rotation);
clone.rigidbody.AddForce (transform.forward * force, ForceMode.Impulse);

I have tried ‘constructing’ the spear with two rigidbodies: a shaft-part and a head-part, with different drag and combining them with a fixed joint but I haven’t been able to tweak it properly to behave as I want (it tips over or spins around or the joint breaks mid-air).

Would you say this is the way to do this or is there another better way I’m not thinking of?
Or should I just skip the physics and rotate it manually as a kinematic?

Thanks in advance!

201313--7425--$picture_181.png

Just update the spear’s rotation to align with its velocity vector:

transform.rotation.SetLookRotation( rigidbody.velocity );

Worked for me, thanks!

Below is a screenshot from our puzzle game - 5 Vikings. It’s available on the App Store and Google Play :slight_smile:

5 Vikings on iOS

5 Vikings on Android

1285305--58388--$5viking_screenshot_0004.jpg