From 8f1cf87a82b1a6631b6f21f83429ca333c6cd748 Mon Sep 17 00:00:00 2001 From: Nathan Warden Date: Sat, 9 Sep 2017 08:55:41 -0500 Subject: Updated the 'members' documentation for Rigidbody. --- doc/base/classes.xml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/doc/base/classes.xml b/doc/base/classes.xml index a097470306..ec8a9d64bf 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -43248,38 +43248,55 @@ + Dampens rotational forces of the Rigid body by the 'angular_damp' rate. + The current rotational velocity of the Rigid body + Locks the rotational forces to a particular axis, preventing rotations on other axes. + Bounciness of the Rigid body. + If true, the Rigid body will no longer calculate forces when there is no movement and will act as a static body. It will wake up when other forces are applied through other collisions or when the 'apply_impulse' method is used. + If true, the Rigid body will emit signals when it collides with another Rigid body. + The maximum contacts to report. Bodies can keep a log of the contacts with other bodies, this is enabled by setting the maximum amount of contacts reported to a number greater than 0. + Continuous collision detection tries to predict where a moving body will collide, instead of moving it and correcting its movement if it collided. The first is more precise, and misses less impacts by small, fast-moving objects. The second is faster to compute, but can miss small, fast-moving objects. + If true, internal force integration will be disabled (like gravity or air friction) for this body. Other than collision response, the body will only move as determined by the [method _integrate_forces] function, if defined. + The body friction, from 0 (frictionless) to 1 (max friction). + The 'gravity_scale' for this Rigid body will be multiplied by the global 3d gravity setting found in "Project > Project Settings > Physics > 3d". A value of 1 will be normal gravity, 2 will apply double gravity, and 0.5 will apply half gravity to this object. + The linear damp for this body. Default of -1, cannot be less than -1. If this value is different from -1, any linear damp derived from the world or areas will be overridden. + The body linear velocity. Can be used sporadically, but [b]DON'T SET THIS IN EVERY FRAME[/b], because physics may run in another thread and runs at a different granularity. Use [method _integrate_forces] as your process loop for precise control of the body state. + The body mass. + The body mode from the MODE_* enum. Modes include: MODE_STATIC, MODE_KINEMATIC, MODE_RIGID, and MODE_CHARACTER. + The current 'sleeping' state of the Rigid body. + The body weight given standard earth-weight (gravity 9.8). -- cgit v1.2.3