Beispiel #1
0
// RemoveBody removes a rigid body from the simulation.
func (s *Space) RemoveBody(b Body) {
	C.cpSpaceRemoveBody(s.c(), b.c())
}
Beispiel #2
0
func (s *Space) RemoveBody(body *Body) {
	C.cpSpaceRemoveBody(s.CPSpace, body.CPBody)
}