Linked Questions

0 votes
1 answer
1k views

I have some code I run when I fell a tree in my game. Basically it picks a random direction and then falls. However atm it linear and doesnt look very realistic. What Id want is for it to start slow, ...
Majs's user avatar
  • 415
1 vote
1 answer
1k views

I've done an if / else with the final position / rotation plus they never complete, how can I check this? stays like this https://i.sstatic.net/3ADqz.gif ...
Nitecki's user avatar
  • 21
0 votes
3 answers
946 views

I am trying to get an object to slowly look at another object, that is, rotate slowly so its forward points towards the target position. Here is my code: ...
Ḟḹáḿíṅḡ Ⱬỏḿƀíé's user avatar
0 votes
1 answer
947 views

I am developing a 3D space shooter and I've found that when trying to rotate the ship using X and Y axes, it also rotates on the Z axis. The answer here helped me a lot, but now when I try to rotate ...
Hector's user avatar
  • 85
0 votes
1 answer
887 views

I've been working on a multiplayer game that uses pathfinding and I'm really confused over this one weird bug. On your screen, the other player glitches between the spawn point and his current ...
Chairio's user avatar
0 votes
1 answer
597 views

The goal is to make smooth rotating look at. The parent object is my character have a Rigidbody. The script is attached to the character parent. I make a reference to the character child name head. I ...
Daniel Lip's user avatar
  • 1,785
0 votes
1 answer
468 views

...
Daniel Lip's user avatar
  • 1,785
0 votes
3 answers
386 views

I'm trying to zoom in on an object once the raycast hits it in the Update method, I am using the Lerp method to make the camera movement smoother but it's not working properly. The object only lerps ...
Safa's user avatar
  • 102
0 votes
1 answer
527 views

I am working on a 3D game where you can control an object that orbits a sphere with an on-screen virtual joystick. So far I have that part working, but the object follows the joystick angle perfectly ...
DRiFTy's user avatar
  • 586
0 votes
2 answers
361 views

I have a formula which returns a Lerp Vector3 value in integers but the problem is it never reaches the desired target value. It'...
Hasen's user avatar
  • 194
-1 votes
2 answers
431 views

My parent object components: Rigidbody2D and the script I shared below. Children(Head, Body, Arm, Backpack...): There is only collider. There is no rigidbody2D. (I want the parent object to use the ...
gunza's user avatar
  • 13
0 votes
1 answer
243 views

I've been making a game engine in lwjgl and I have been trying to get an ai to move from one point to another. I used a lerp method but the speed is dependent on the distance between the two points, ...
user avatar
1 vote
1 answer
386 views

I am creating a FPS game online. I want the user to be able to use a sensitivity they are familiar with from games they've played. In this case, I want them to use their Fortnite sensitivity. I am ...
Ben Stallwood's user avatar
0 votes
1 answer
473 views

Does CharacterController benefit from adding lerp? as in this script. ...
TeachMeEverything's user avatar

15 30 50 per page