Quantcast
Browsing latest articles
Browse All 27 View Live

Steering using Quarternion.LookRotation.

im working on an arcade flight sim which doesnt have very realistic flight dynamics for the ai, and i need some help with the aircraft ai. current setup -------------- Im using the following to steer...

View Article


Trying to rotate a 2D sprite

I've got this code attached to a 2D sprite that I want to rotate. So far I'm working on making it rotate left when the left arrow key is pressed. I get no parsing errors, but when I run the game, the...

View Article


Respawn target after destroying returns error

I am using unity3d c# to respawn an object after destroying it at a specific position. The following code returns an error message: Quarternion to matrix conversion failed because input quaternion is...

View Article

How can i add random range to an instantiated objects rotation?

To get a better understanding, imagine a jigsaw puzzle with all its little pieces, i currently have any empty spots being replaced with new pieces, but they always spawn with a default rotation of 0,...

View Article

Combine regular rotation with quarternion

I'm trying to write a snowboarding game. When the player turns he should lean in the turning direction as well as changing direction. I'm doing this using: // Turn var turnAmount = Input.GetAxis(...

View Article


Camera look at players Y position only

Hi there, I'm making a 3D platformer and I'm having issues creating a dynamic camera script which allows for a camera to follow the players position in a variety of ways. Basically when the horizontal...

View Article

Slerp camera rotation moves on it's own at runtime?

I have a script to rotate the camera with an input axis, it works mostly. The big problem is that it starts moving on run time without input, and when I use the input, it eventually resists going...

View Article

Rotating back to certain points/values.

Hi im pretty new to unity en programming. I have this object thats just rotating randomly around its own axis. What im trying to do is rotate it back to its start values. Lets say to vector3(0, 0, 0)....

View Article


Quaternion rotation triggers change in Texture

Hello All I have a stationary plane that faces the player As the player moves around it (360 Degrees) I need the texture to change. So it's as if I had taken 16 pictures around an object, the texture...

View Article

Browsing latest articles
Browse All 27 View Live


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