Module response

Module response 

Source
Expand description

Collision response algorithms

This module provides algorithms for calculating appropriate reactions after a collision has been detected, such as computing impulses and resolving penetration.

Structs§

CollisionInfo
Information about a collision

Functions§

find_sphere_box_collision
Finds the collision information for a sphere and a box
find_sphere_triangle_collision
Finds the collision information for a sphere and a triangle
resolve_sphere_sphere_penetration
Resolves the penetration between two spheres
sphere_box_impulse
Calculates the collision response impulse for a sphere and a box
sphere_sphere_impulse
Calculates the collision response impulse for two spheres