Exemple #1
0
// RemoveStaticShape removes a collision shape added using AddStaticShape() from the simulation.
func (s *Space) RemoveStaticShape(sh Shape) {
	C.cpSpaceRemoveStaticShape(s.c(), sh.c())
}
Exemple #2
0
func (s *Space) RemoveStaticShape(shape *Shape) {
	C.cpSpaceRemoveStaticShape(s.CPSpace, shape.CPShape)
}