summaryrefslogtreecommitdiffstats
path: root/scene/3d/physics_body.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2014-08-14 10:31:38 -0300
committerJuan Linietsky <reduzio@gmail.com>2014-08-14 10:31:38 -0300
commit2ee4ac183babedd679e901b0158f5268556deceb (patch)
treec0b5215b7ab17186835e1919912fa09de7301bfb /scene/3d/physics_body.cpp
parentc3e1d7b7c788530dc69e973352763a90da05d4e1 (diff)
downloadredot-engine-2ee4ac183babedd679e901b0158f5268556deceb.tar.gz
Little Bits
-=-=-=-=-=- -Fixed small bugs all around -Added ability to show/hide entire sections of the spatial (3D) tree -WIP new vehicle (not ready yet) based on Bullet
Diffstat (limited to 'scene/3d/physics_body.cpp')
-rw-r--r--scene/3d/physics_body.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/scene/3d/physics_body.cpp b/scene/3d/physics_body.cpp
index 2a1a5972a9..721fd368e1 100644
--- a/scene/3d/physics_body.cpp
+++ b/scene/3d/physics_body.cpp
@@ -43,6 +43,20 @@ void PhysicsBody::_notification(int p_what) {
*/
}
+Vector3 PhysicsBody::get_linear_velocity() const {
+
+ return Vector3();
+}
+Vector3 PhysicsBody::get_angular_velocity() const {
+
+ return Vector3();
+}
+
+float PhysicsBody::get_inverse_mass() const {
+
+ return 0;
+}
+
PhysicsBody::PhysicsBody(PhysicsServer::BodyMode p_mode) : CollisionObject( PhysicsServer::get_singleton()->body_create(p_mode), false) {