Example #1
0
// getBox creates a visible box physics body.
func (cr *crtag) getBox(bod vu.Part) {
	bod.SetScale(2, 2, 2)
	bod.SetFacade("cube", "gouraud").SetMaterial("sphere")
	bod.SetBody(vu.Box(1, 1, 1), 1, 0)
}