| |
---|
| | } |
---|
| | |
---|
| | public void setPosition(Position3D position) { |
---|
| | this.position = position; |
---|
| | ((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); |
---|
| | } |
---|
| | |
---|
| | public void setAttribute(Attribute attribute) { |
---|
| | this.attribute = attribute; |
---|
| |
---|
| | } |
---|
| | |
---|
| | @JSONHint(ignore = true) |
---|
| | public Object3D getObject() { |
---|
| | return object; |
---|
| | return (Object3D) getPlaceable().getBody(); |
---|
| | } |
---|
| | |
---|
| | public void setObject(Object3D object) { |
---|
| | this.object = object; |
---|
| | |