Code Monkey home page Code Monkey logo

coldetectionnode's Introduction

colDetectionNode

Remaked with plugin-node of collision detection part (expression node) of maya_expressionCollision.
A slight improvement in processing speed can be expected.

Warning
Internal Use ID (0x7c001, 0x7c002) is used.

Nodes

There are two types of nodes of: input as vectors (colDetectionNode) or input as matrices (colDetectionMtxNode). These outputs are the same. nodes

On its own, colDetectionNode is faster, but colDetectionMtxNode may be faster as a result because it does not require decomposeMatrix, etc. ใ€€

use colDetectionNode use colDetectionMtxNode
colDetectionNode colDetectionMtxNode

Performance

The following is the processing time for a single node when one each of sphere, capsule, and infinitePlane Collider is used, Iterations : 3, GroundCol : On.

colDetectionNode colDetectionMtxNode expression node (maya_expressionCollision)
14.48us 26.12us 78.33us
  • Windows 11
  • Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz
  • 16GB RAM
  • NVIDIA GeForce RTX 3060

Development Environment

  • Windows 11
  • Maya 2022.3

Note

  • Processing order of collider type cannot be changed.
  • Too many colliders reduce accuracy.
  • Scale is not supported.

coldetectionnode's People

Contributors

akasaki1211 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.