Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Feature requests and bug reports
More body types for physic collision?

rolevix
Registered User
Quote
2021-07-14 18:44:18

Hi! Hope for @niko answer.

I'm making a RPG game with item physics and i see one little problem with a container objects (like a bucket, plates, mugs etc).
I think is need some body types for container objects, cause for now i compelled using only cylinder body type :(

🔎︎



Capt. Pong
Guest
Quote
2021-07-15 03:18:04

it is called Telekinese

and a very expensive futuristic feature, google for Dr. Who an Catweazel


veganpete
Registered User
Quote
2021-07-15 07:51:22

Not 100% sure what's causing the problem - but here are the things I would check first....

1- make sure the bucket model actually has a hole in the top and is not just a closed cylinder with polygons across the opening.

2-make sure the collision size of the carrot is smaller than the bucket opening.

3-try adjusting the small collision special variable, in case the carrot model is sticking to the sides of the bucket model.

4-try increasing the mass of the carrot, in case it's too light to overcome the physics of the bucket.

If none of these fix the problem, as a workaround, you could use an on proximity event to manually move the carrot inside the bucket whenever the carrot comes in proximity with the bucket top.


rolevix
Registered User
Quote
2021-07-15 09:44:48

@veganpete
No, i'm actually mean body type in physics collision:

🔎︎



veganpete
Registered User
Quote
2021-07-16 08:23:03

Oh, I see what you mean now - the single collision cylinder is capped at the top and bottom (there's no hole in the middle).


just_in_case
Moderator
Quote
2021-07-17 05:59:43

if you have a studio edition then you can download the source of the client and can add more body types I think. CopperCube uses Bullet physics engine and there are a lot of other things which you can implement in the client with the source code like a ragdoll, vehicle physics, and other stuff, there comes some 'Demos' to in the source for Bullet physics simulation.

If you know scripting then you can use the visual studio and can extend your client.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Inter?ational" (you are not logged in)


Text:

 

  

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