I have noticed that add an object to a BulletAppSpace through both a Geometry
and a Control
. Which method is the preferred way to add an object to a BulletAppSpace?
e.g.
Geometry geometry=new Geometry("box", new Box(1, 1, 1));
RigidBodyControl control=new RigidBodyControl(1f);
geometry.addControl(control);
//both work
bulletAppSpace.add(control);
bulletAppSpace.add(geometry);