LogoLogo
ThreeKitDeveloper HubForumsSupportStatus
  • Guides
  • Documentation
  • Releases
  • Platform Documentation
  • Project Data
    • Platform Landing Page
    • Basic Concepts
      • Environments
      • Organizations
      • Attributes
        • Arrays
      • Tagging
      • Naming Conventions
      • Players
      • Branching
      • Alerts and Warnings
      • Supported Browsers
      • ThreeKit Platform Architecture
    • Catalog
      • Items
        • Item Bulk Edit
        • Item Variants
      • Data Tables
      • Item Rules and Logic
      • Publishing
    • Assets
      • Asset Management
        • Importing Assets
        • Exporting Assets
        • Folders
      • Asset Editor
        • Editor Layout Modes
          • Layout Editor
            • Local vs Global Transform
          • Logic Editor
      • Nodes
        • Common Properties
          • Node Tags
        • Helpers
          • Nulls
          • Model References
          • Connectors
        • Lights
          • Point Light
          • Directional Light
          • Spot Light
          • Area Light
          • Hemisphere Light
          • Shadow Plane
        • Cameras
        • Shapes
        • Annotations
        • Layout Containers
      • Scenes
      • Materials
        • Physical Material
        • Proxy Materials
        • Multi Material
        • Gem Material
        • JSON Configuration
      • Textures
      • Canvases
      • Composites
    • Operators
      • PolyMesh Operators
        • Array
        • Bend Deformer
        • Map Override
        • Stretch
        • Physics (Collision Detection)
      • Material Operators
        • Falloff
        • Tiling Override
        • Triplanar Mapping
        • Template Override
      • Image Operators
        • Canvas Composite
        • Canvas Fill
        • Canvas Linear Gradient
        • Canvas Text
        • BlackWhite
        • Posterization
      • PostEffects Operators
        • Bloom Pass
      • Comp Layer Operators
        • Vray Normals Properties
        • Vray Bump Normals Properties
    • Stages
      • Stage Effects
        • Turntable
    • Logic
      • Conditions
      • Actions
      • Queries
        • Node Queries
        • Metadata Value Query
        • Asset Query
        • Datatable Query
      • Custom Scripts
    • Virtual Photographer
      • Create Renders
      • View Renders
      • V-Ray Integration
    • Augmented Reality
      • AR Settings
  • Org Setup
    • Admin & Security
      • Org Profile
      • Users & Permissions
        • Threekit Sign-in
        • Members
        • User Profile
      • Tokens
      • Service Accounts
      • ISO Certification
      • Org Migration / Data Transfer
    • Jobs System
    • Orders
      • Orders List
      • Configurations
    • Analytics
      • Advanced Buyer Analytics Reports
      • Player Views
    • Project Settings
      • Features
      • Languages
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. Project Data
  2. Operators
  3. PolyMesh Operators

Physics (Collision Detection)

PreviousStretchNextMaterial Operators

Last updated 1 year ago

Was this helpful?

Collision Detection has been added to enhance modular or spatial configuration experiences so that objects either cannot intersect or to warn the user that objects intersect.

To add Collision Detection to your modular or spatial configurators, you will need to add Collision to your Layout Containers and the individual objects you'd like collision physics to impact.

First, add the new Collision Settings operator to your Layout Container:

There are two Collision Setting Modes.

  • Collision Detection - lets the user know that objects have collided through highlighting but does not prevent it.

  • Prevent Collision - prevents objects from intersecting

Note: you should lock the translation so that objects don't "jump" when they collide and stay fixed to the surface you've selected in your layout container.

Next, for each object the Layout Container is affecting that you'd like Collision physics to apply to, you'll need to add the new Physics Plug:

Then, you will need to add the Collider operator in the Physics section of the Properties panel:

Finally, you can set the collision detection accuracy:

  • Bounding Box - the most performant setting but least conforming to non-rectangular shapes

  • Reduced Hull (Default) - approximates the shape of your object while remaining performant

  • Exact Hull - uses the exact shape of the object but can create performance issues for complex objects and scenes\

Note: to enable Collision Detection client side, you'll need to load the required, separate library:

 <script src="https://[environment]/app/js/threekit-packs-physics.js"></script>