self.node = BulletGhostNode(self.__class__.__name__)
else:
self.node = BulletRigidBodyNode(self.__class__.__name__)
- self._set_shape()
+ self._set_shape(count)
self._np = render.attach_new_node(self.node)
if count:
world.attach_ghost(self.node)
self._model.flatten_light()
self._model.reparent_to(self._np)
self._np.set_scale(model_scale)
+ self._np.flatten_strong()
if count:
self._set_outline_model()
set_srgb(self._outline_model)
self._np.set_pos(pos)
self._np.set_r(r)
- def _set_shape(self):
+ def _set_shape(self, apply_scale=True):
pass
def set_strategy(self, strategy):