Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / [BUG] Cone collision shape larger than object & Non spherical compound shapes larger than specified

Author
Message
blink0k
AGK Developer
Gold Codemaster
6
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 25th Nov 2018 23:00 Edited at: 25th Nov 2018 23:02
1. When i set the cones collision shape to cone it appears to construct a shape that is larger than the original shape.
You can see this in action if you run the app, then press spacebar to drop the hoop, then press C to change the cones collision shape from cone to static mesh. The hoop will fall a little further and contact the cone



2. When the hoops compound collision shape is set to anything but a sphere, then the collision shape appears to extend beyond the shape specified. you can see this a couple of ways
2.1 Run the app. Press H to change the hoops compound shape to cylinder. Press C to change the cones collision shape to mesh. Press SPACEBAR to drop the hoop. You will see a fairly large gap between the cone and the hoop
2.2 Run the app. Press H to change the hoops compound shape to cylinder. Press M to move the cone out of the way. Press SPACEBAR to drop the hoop. Move the mouse over the grid and bump the hoop with the red cylinder
2.3 (My favorite) Run the app. Press H to change the hoops compound shape to cylinder. Press M to move the cone out of the way. Press SPACEBAR to drop the hoop. Press the DOWN ARROW until you are level with the hoop. Press ENTER

Attachments

Login to view attachments

Login to post a reply

Server time is: 2019-08-18 17:11:58
Your offset time is: 2019-08-18 17:11:58