Overhaul the top sections of the class reference (Physics classes)
This commit is contained in:
parent
c80a2b4fe9
commit
e3d0da404f
100 changed files with 295 additions and 299 deletions
|
|
@ -1,13 +1,10 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="SpringArm3D" inherits="Node3D" version="4.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
||||
<brief_description>
|
||||
A helper node, mostly used in 3rd person cameras.
|
||||
A 3D raycast that dynamically moves its children near the collision point.
|
||||
</brief_description>
|
||||
<description>
|
||||
The SpringArm3D node is a node that casts a ray (or collision shape) along its z axis and moves all its direct children to the collision point, minus a margin.
|
||||
The most common use case for this is to make a 3rd person camera that reacts to collisions in the environment.
|
||||
The SpringArm3D will either cast a ray, or if a shape is given, it will cast the shape in the direction of its z axis.
|
||||
If you use the SpringArm3D as a camera controller for your player, you might need to exclude the player's collider from the SpringArm3D's collision check.
|
||||
[SpringArm3D] casts a ray or a shape along its Z axis and moves all its direct children to the collision point, with an optional margin. This is useful for 3rd person cameras that move closer to the player when inside a tight space (you may need to exclude the player's collider from the [SpringArm3D]'s collision check.
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue