Physics Questions
3
Solved
I added a rigid body to a cube with no script and with a collier but instead, it falls upwards instead of downwards. I have tried changing the mass to a negative number to reverse the gravity but when...
Emolument asked 26/1, 2020 at 5:31
41
Hello!
As a few people have figured it out the hard way, Godot 4 native physics is a little bit unstable in some situations. And there was even a petition 🙂 regarding returning Bullet physics back i...
Geniegenii asked 24/4, 2023 at 20:19
6
Hello, I'm a beginner on Godot and I'm trying to generate arrows on my scene that will kill the player. But too many of them are generated and and it doesn't work well at all. Any idea on why's that ?...
Epergne asked 24/1 at 22:57
3
So I’m moving kinematic rigidbodies via scripting and I want their velocity to be set appropriately as they move. Right now, if they touch other physics objects, they should influence them after touch...
Babb asked 17/8, 2013 at 17:16
4
I want to disable gravity on collision of two Rigidbody2D.
First of all i dont want default collision effect by unity so i have checkd istrigger,so do i need to check istrigger for both rigdid bodies?...
Quenchless asked 27/6, 2016 at 15:41
4
I'm working on a 3D puzzle platformer game where you use gravity to your advantage
and i tried to make the player slowly rotate to an angle with gravity and it only goes about half way but when i set...
Septicidal asked 24/1 at 6:11
1
I've been pulling my hair out finding why some code I have for a physics based approach to moving and rotating held objects based on the location and orientation of the player's hand in VR.
I believ...
Shipowner asked 19/12, 2023 at 2:37
3
Godot Version:
4.1.3.stable
Question:
I created this 2D platformer and used Godot's tilemap system, I painted the collisions on the tiles in the physics layer, as shown below:
The player's collisi...
Prudie asked 16/1 at 10:29
12
When i attach a Rigidbody to an object, it falls at a very slow speed and no matter how much I increase the mass it falls at exactly the same speed every time.
it falls about 75% slow than this Unity ...
Jumbled asked 27/7, 2017 at 14:33
5
I'm making a game for a game jam and I'm trying to do those box sliding puzzle games, the problem is, because of godot's safe margin, the body of the box will get stuck in pixel perfect holes, so i de...
Lyingin asked 10/1 at 0:40
1
Hey all! I've been attempting to replicate the old source style of movement (strafing, bhopping, surfing) in Godot 4, but I've run into an issue with slide collisions in move_and_slide. Surfing is the...
Uncompromising asked 5/1 at 20:5
11
Solved
How do i check if my player is grounded? Because its kind of annoying how my player can jump in mid air.
This is the script im using, its in Java Script:
var jumpSpeed: float = 8;
function Update ()
...
Reg asked 18/12, 2011 at 3:12
8
Solved
When working with non-kinematic rigidbodies (especially bouncy ones), there can be situations where collisions with static colliders and other rigidbodies result in large increases in velocity. This c...
Defense asked 11/1, 2010 at 16:26
3
Hello!
I have an asteroid spawner that spawns RigidBody2D asteroids of varying sizes and when I shoot RigidBody2D projectiles at it they collide and interact in-game as you'd expect but when I try to ...
Obstruent asked 21/12, 2023 at 23:45
1
Initially I used 3d objects made in blender, a simple flat disc, and a box/rectangle, I put the rectangle below the flat disc, gave them both colisionshapes on rigidbody3d, gave the rectangle an anima...
Finding asked 19/12, 2023 at 3:3
1
Hello,
So I just switched from Unity to Godot and I have a problem that I think is related to my lack of understanding the Transform3D Basis matrix.
I have a rollerblading game and I got my characte...
Kirmess asked 16/12, 2023 at 19:9
2
Solved
Hello all, for my game
I have a Canvas where the user can scroll through to select an item (using Scroll Rect). I have a collider in the center of the screen. The purpose of this collider is to detect...
Cahoon asked 13/10, 2016 at 19:50
4
Hi all,
Do anyone know, how Unity Engine calculates drag for rigidbody which is applied by a force.
I have car and set drag as 0.35 in rigidbody setting. Is that calculated proportional to the velocit...
Ruff asked 28/2, 2014 at 6:52
19
Hey all, just built the DtC2D game. I was playing around with some parameters and decided to lower the mob velocity range:
`# Choose the velocity for the mob.
var velocity = Vector2(randf_range(50.0,...
Acriflavine asked 1/12, 2023 at 19:28
1
I read that the best way to make root node CharacterBody2D and it child node is Area2D. I put Sprite Sheet and Collision Shape in the root node. But if I do so, the Area2d node asks for Collision shap...
Abradant asked 2/12, 2023 at 17:48
1
Hey guys.
I tried using SphereCastAll and every time I want to get the hit.point of these Casts it returns a Vector of zero
float attractDistance = 10f;
Ray ray = new Ray(transform.position, Vector3.f...
Hootchykootchy asked 30/4, 2016 at 18:32
1
Hey there,
I am working on a 2d Top down game and starting to add the collision to my tiles, but suddenly some empty tiles that have no tiles whatsoever have collision that I didn't give them. I have...
Intake asked 25/11, 2023 at 11:34
3
I want to make a Select and Deselect method on 3D object. I’m using Event Trigger with ISelectHandler and IDeselectHandler.
I’m add as component to 2 object: UI button and 3D object cube… and the resu...
Vagabond asked 8/7, 2015 at 10:13
2
Hello!
I have a ship that I'm reworking the movement on and have attached the relevant script below. My thrust variable acts like my speed and I've set it to 800. when I run, the velocity print state...
Shod asked 22/11, 2023 at 17:57
7
Solved
Short of makinga ll bodies in a scene static is it possible to stop physics updates from happening without disabling time altogether?
Regularly asked 8/10, 2011 at 6:39
© 2022 - 2024 — McMap. All rights reserved.