Questions tagged [physics]
Relating to the motion of objects through space and time. Including concepts such as acceleration (thrust and gravity), mass, collision response, friction and more.
442
questions with no upvoted or accepted answers
-1
votes
1
answer
113
views
wheeled 2D character controller platform edges problem
I have built a little wheeled 2D character controller (a rectangle for the body and a circle for the legs with a motor joint). Everything is ok but the problem is that when the player reaches the edge ...
-1
votes
1
answer
918
views
2D bouncing formula doesn't work properly
I am new to Unity, and I am trying to create a bouncing ball, so I've been researching bouncing related physics and I found a formula:
Formula:
...
-1
votes
1
answer
2k
views
Trajectory Projectile with Collision Detection
Right now I am trying to create projectile for cannon in which I want to detect collision also.
At present I have simple working projectile after using two references
Unity – How to display ...
-1
votes
2
answers
2k
views
How to design basic physics and movement behavior for 2D platformer?
I want to make a simple 2D platformer.
I know some basic 2D physics and how to implement them in a game. How to make a character jump, accelerate, decelerate, etc.
But I have no idea how to actually ...
-1
votes
1
answer
339
views
Can not seem to adjust the speed of my Car
I'm programming in C++, rendering in OpenGL and using GLM for matrix/vector manipulation and ...
-1
votes
1
answer
305
views
forward motion car physics - gradual slow
Im having trouble creating realistic car movements in xna 4.
Right now i have a car going forward and hitting a terminal velocity which is fine but when i release the up key i need to the car to slow ...
-2
votes
1
answer
229
views
Why does my OnTriggerStay method throw a NullPointerException when I access the collider's attachedRigidbody?
I set the trigger
void OnTriggerStay(Collider other)
{
other.attachedRigidbody.AddForce(Vector3.up * 100, ForceMode.Impulse);
}
But when player walks on, ...