Quantcast
Channel: Questions in topic: "realistic"
Viewing all articles
Browse latest Browse all 146

How to create a realistic flying clay pigeon

$
0
0
Hi! I would need some script or logic for letting clay pigeons fly for a targeter game. The pigeons shall start form two fixed points, which one is decided randomly. The pigeons shall vary in their start direction and strength, the height is always the same. The pigeons are rigidbodies. Right now i am starting the piegeons like this: float randomXValue = Random.Range(-2, 2); float randomZValue = Random.Range(1.5f, 4); rigidbody.AddForce(randomXValue, 2, randomZValue, ForceMode.Impulse); The problem is now, that the flight curve doesn't look like a pigeon you know from movies. The rigidbody is set as follows: mass = 0.175 drag = 0.7 angular drag = 0.05 uses gravity collision is cont. dynamic no constraints Maybe someone of you knows a way to do a realistic flight behaviour for a clay pigeon. br hoffmanuel

Viewing all articles
Browse latest Browse all 146

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>