2
votes
Accepted
Unity CharacterController steps on colliders with 0 Step Offset
The official api of unity has a vague explanation of each parameter. After testing I got the relatively correct meaning of the parameters.
In this collision situation, as long as the hemisphere of ...
2
votes
Accepted
Godot: is_on_floor always false
If you call move_and_slide with only one parameter, all collisions are considered walls. This is useful in top down games.
You need to specify an up vector which ...
1
vote
Accepted
Detect if actors are inside another actor with custom shape
I was able to achieve what I wanted.
To check if the sphere is inside my triangle mesh, I've used raycasting from the center point into (0.0f, 1.0f, 0.0f) direction (which can be random). The point is ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
collision-detection × 2356unity × 483
physics × 344
2d × 343
c# × 311
java × 226
collision-resolution × 211
xna × 191
c++ × 175
libgdx × 104
3d × 94
javascript × 92
mathematics × 91
aabb × 71
platformer × 66
tiles × 63
raycasting × 61
android × 60
pygame × 59
separating-axis-theorem × 59
opengl × 57
box2d × 57
algorithm × 55
python × 53
tilemap × 51