Skip to main content

All Questions

Tagged with
0 votes
0 answers
32 views

Dynamic Knock Back Force Based on Collider Velocity

I'm making a game prototype in Godot. My player character is a ship that moves around in 3D space without gravity. I have some simple code that adds a knock back force to the player on collisions ...
Zoford's user avatar
  • 1
1 vote
1 answer
52 views

How can I constrain a RigidBody ball to move along a path, but only apply forces to keep the ball on the path without adding velocity?

I'm currently working on a game and I'm hung up on this particular issue. I have a ball that is a RigidBody. The RigidBody is ...
Lewis Cianci's user avatar
0 votes
0 answers
29 views

Inconsistent results from ApplyCentralImpulse with RigidBody2D

I'm working on a 2D top-down game using RigidBody2D for the player and enemies. They're bouncing and moving (using ApplyCentralForce) and detecting collisions just fine, however now I want to add a ...
Bryan Johnson's user avatar
2 votes
1 answer
87 views

Pin object to the end of a rope

I'm trying to make a cool simulation where a rope swings with an object attached to its end. I've set up the rope using Verlet integration and used Hooke's law to attach the object. But here's the ...
Ainsley Harriott's user avatar
0 votes
0 answers
74 views

StaticBody2D on body enter without Area2D

How can I get the body_entered signal on a StaticBody2D without an Area2D? I know ...
Salem Domani's user avatar
0 votes
1 answer
222 views

How to code glider movement in 2D? (Godot 4)

So in Minecraft, you have the elytra. When you look up, the character moves up. When you look down, the character moves down. The speed you move forward depends on the angle you are moving. I want to ...
Shattered Reality's user avatar
1 vote
1 answer
209 views

Raycast suspension simulation rebounds car on landing

I'm expecting the car to land and engage the suspension to dampen the landing. The code I'm using currently has this effect: ...
Lousifr Illuminos's user avatar
0 votes
1 answer
291 views

How to limit forces based on linear velocity

I'm trying to develop a system where there are two types of velocity limits. The velocity that a rigid body can achieve on its own. The velocity cap which is reachable by interference with other ...
Flosculus's user avatar
  • 103
0 votes
1 answer
114 views

How do I make a ceiling limit to an asteroids-like game in Godot?

I'm making a game similar in concept (physics-wise) to "asteroids" where a spaceship moves around on a screen from left to right, shooting stuff. The problem is I have no idea how to set a ...
Darthfist's user avatar
0 votes
0 answers
184 views

How can I debug a y-sort clipping issue?

OS: Mac Godot 3.5.1-stable Language GDScript I have created a Level object as a YSort. Under it I have a ColorRect, 2 Tilemaps, a Tree Scene, and the Player. The tree scene is composed of a ...
Doug Noel's user avatar
  • 101
3 votes
1 answer
99 views

Eliminate bouncing when switching/sticking to a different surface

I am following this tutorial to make a KinematicBody2D align to the surfaces below it. When switching from one surface to another, the character bounces until it ...
Abanoub's user avatar
  • 239
3 votes
0 answers
163 views

How do you compute for angular spring physics for physics joints in game engines?

I'm working on fixing Godot's physics joints. Currently, it uses Euler angles and it doesn't help me in building active ragdolls for my game. I heard that using quaternions is the way to go. So I ...
PHO BOSS's user avatar
1 vote
1 answer
1k views

Godot cutout animation with skeletons and ragdoll physics

i'm following the tutorial for cutout animation, but also wanted to combine ragdoll physics from this video, my goal is to make a 2d fight game with this 2 techniques. but not sure how to combine them ...
Progs's user avatar
  • 93
0 votes
1 answer
205 views

Need help projecting 2D projectile motion in 2.5/isometric 2D game

So I’ve been researching this a lot and have hit a road block. I’ve read pretty much every thread on here regarding this and while I understand the concept I don’t understand how to implement it. For ...
FrankR's user avatar
  • 1
2 votes
1 answer
1k views

Simplified aerodynamics for 3D airplane

I'm looking how to implement simple movement for an airplane in 3D in godot, i couldn't find any tutorial or any hints on how to do this, mostly theoric information on a more real flight movement. Any ...
Progs's user avatar
  • 93

15 30 50 per page