This page has been translated automatically.
UnigineEditor
Interface Overview
Assets Workflow
Settings and Preferences
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Landscape Tool
Using Editor Tools for Specific Tasks
FAQ
编程
Fundamentals
Setting Up Development Environment
Usage Examples
UnigineScript
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine and Tools
GUI
Double Precision Coordinates
应用程序接口
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
CIGI Client Plugin
Rendering-Related Classes
注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
注意! 这个版本的文档描述了一个不再受支持的旧SDK版本!请升级到最新的SDK版本。

Physics

Physics settings of a node can be changed on the Physics tab of the Parameters window. Here you can assign a required body to the selected node and then set it up.

Physics Settings

However, a node can participate in physical interactions even if it has no physical body assigned: you can enable collision and intersection detection for node's surfaces on the Node tab of the Parameters window. Some node's surfaces may not participate in collisions and intersections: these options can be enabled on a per-surface basis.

Notice
To adjust settings of all physical objects in the scene at once, tweak the global physics-related settings.

Collision Parameters

Collision Settings

This section provides parameters for setting up how the selected surface collides with other physical bodies and shapes.

Notice
For the surface to participate in collision detection, the Collider Object flag must be set for the node, and the Collidable flag must be set for the surface property.
Enabled Flag indicating if collisions with the surface are enabled.
Mask Collision mask of the surface. The surface will collide with a shape only if their collision masks match.

Intersection Parameters

Intersection Settings

This section provides parameters for setting up how the selected surface participate in intersections.

Notice
For the surface to participate in intersection detection, the Intersectable flag must be set for the surface property.
Enabled Flag indicating if intersections are enabled for the surface.
Mask Intersection mask of the surface. Intersection with the surface will be detected, if its intersection mask matches the intersection mask passed as a function argument, otherwise it is ignored.
Last update: 2018-08-10
Build: ()