≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Is there any good way to create custom collision?
Posted by:
(you are not logged in)
Enter the missing letter in: "Interna?ional"
(you are not logged in)
Text:
[quote][b][/b] wrote: Hi, If you're targeting windows or mac you might try enabling physics engine - it support different types of collision shapes: https://www.ambiera.com/coppercube/doc/cnt_physics.html. But this could be only applied to object which are not controlled by player or AI. Probably, it will do for the table, but your player node will still have to use a shpere collider from "collide than moved behavior". I think this actually might work for you. Also you don't need the raytracing for detecting collision - you generaly need sizes and positions. You can find more formulas on how to calculate different types of collisions here: https://plutiedev.com/basic-collision. But, downside is that detect collision is only a part of a job - you need to handle it. And with that you will most likely have to rewrite the gravity and slopes logic. If nothing works just create a cube, add a black (0,0,0) material toi it and pick material type "transparent add", so it's completely transparent. Put it around your table - now you have a box collider there.[/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