- Home /
Question by
Tyler 2 · Dec 06, 2010 at 01:14 AM ·
instantiatevelocityangle
Instantiate Angle?
Hello. When I am using Instantiate, how do I control the angle and velocity of the object, thanks.
Comment
Answer by Jesse Anders · Dec 06, 2010 at 02:45 AM
The orientation (not the angle, per se) is specified via the third argument, which is a quaternion.
There is no specifying the velocity, since velocity isn't a property that all game objects created via Instantiate() will have. That said, Instantiate() returns a reference to the newly instantiated object, which you can then use to modify the object's state (including the velocity of an attached rigid body component, if that's what you're wanting).
Your answer
![](https://koobas.hobune.stream/wayback/20220613085901im_/https://answers.unity.com/themes/thub/images/avi.jpg)