1
vote
1answer
67 views
Make an FPS gun point at the mouse position.
Hi,
Im new to unity and trying to make an on rails shooter, similar to time crysis or house of the dead. I also want the gun to be displayed on the screen but to point at where th …
3
votes
2answers
312 views
Using a mouse, “Grab” an object and spin it in 3D.
Okay my math is a bit fuzzy. I have an object at a position;
Vector3 ObjPosAtStart = MyObject.transform.position;
And I can get the current rotation to hold for later as I when …
0
votes
2answers
140 views
CharacterController on Moving Surface
The CharacterController needs to get on and off translating and rotating surfaces without parenting, which does not work without messing with the hierarchy. I can get a collided ob …
1
vote
2answers
99 views
How might I rotate rigidbody momentum?
Hi,
I currently have a rigidbody spaceship that is controlled by the player. I have assumed that the spaceship should be a non-kinematic rigidbody because I want it to bounce and r …
2
votes
1answer
149 views
Move an object according to a vector field (flow arrows placed in the scene)
I have an object that I want to get moved in a direction that is controlled by flow arrows placed in the scene. The arrows could just be game objects that push in their Z direction …
0
votes
1answer
62 views
Vector2.Lerp is not supported. Any Alternatives?
Is there an easy way to smoothen my 2D Vector? Currently, only Vector3.Lerp works...