Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
setanarut committed Nov 6, 2024
1 parent 7b0bc65 commit 2305145
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions body.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,6 @@ type BodyVelocityFunc func(body *Body, gravity vec.Vec2, damping float64, dt flo
// BodyPositionFunc is rigid body position update function type.
type BodyPositionFunc func(body *Body, dt float64)

// Kinematic bodies are bodies that are controlled from your code instead of
// inside the physics engine. They arent affected by gravity and they have an
// infinite amount of mass so they don’t react to collisions or forces with other bodies.
// Kinematic bodies are controlled by setting their velocity, which will cause them to move.
// Good examples of kinematic bodies might include
// things like moving platforms. Objects that are touching or jointed to a
// kinematic body are never allowed to fall asleep.
type Body struct {
// UserData is an object that this constraint is associated with.
//
Expand Down

0 comments on commit 2305145

Please sign in to comment.