≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
I need help detecting collisions with custom scene nodes. I put a custom node in an official tutorial and it's not solid.
Posted by:
(you are not logged in)
Enter the missing letter in: "Intern?tional"
(you are not logged in)
Text:
[quote][b][/b] wrote: I discovered how to create a great collision system that causes all objects to collide realistically! Mesh-to-Mesh collisions! I created a separate "[b]CL3D.MetaTriangleSelector()[/b]" for each node! (I first created a separate "[b]CL3D.AnimatorCollisionResponse()[/b]" for each node, and then I put its personal "[b]CL3D.MetaTriangleSelector()[/b]" inside of it.) The reason each node has its own "MetaTriangleSelector" is that an object cannot move if it is a part of the MetaTriangleSelector for its own self! It will be stuck, because the engine will think it is touching a physical object! So, I created a separate [b]Meta[/b]TriangleSelector for each node that includes the [b]Mesh[/b]TriangleSelector of every object EXCEPT for the one for ITSELF! A node's own Mesh won't count as a collision, so it can move! The objects collide like real pieces of matter now! They don't move through each other! The whole shape of each object is detected, instead of a general collision-shape around it! Like the collisions of reality! I imported an object with many crevices and bumps, and the other objects seemed to move along all of those areas, like rough terrain, so it's very realistic! I also created an invisible cube attached to my camera, so the camera won't go through physical objects, either! I saved my progress on multiple hard drives, although losing the progress will not be catastrophic, because I believe I can recreate all of it quite quickly. So quickly, in fact, that some cultures believe I have reached a new intelligence. I feel so wise now. Wise beyond time. I feel like a master. A master of the Earth.[/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact