| |
---|
| | } |
---|
| | |
---|
| | public void setPosition(Position3D position) { |
---|
| | this.position = position; |
---|
| | ((Object3D)(getPlaceable().getBody())).setPosition(position); |
---|
| | if(placeable != null)((Object3D)(getPlaceable().getBody())).setPosition(position); |
---|
| | } |
---|
| | |
---|
| | public void setVelocity(Velocity3D velocity) { |
---|
| | this.velocity = velocity; |
---|
| |
---|
| | } |
---|
| | |
---|
| | public void setAngle(Quaternion3D angle) { |
---|
| | this.angle = angle; |
---|
| | ((Object3D) getPlaceable().getBody()).apply(angle, false); |
---|
| | if(placeable != null)((Object3D) getPlaceable().getBody()).apply(angle, false); |
---|
| | } |
---|
| | |
---|
| | public void setAttribute(Attribute attribute) { |
---|
| | this.attribute = attribute; |
---|
| |
---|
| | |