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.

2D All the way! / Pixel Perfect Shape Collision

Author
Message
Kevin Picone
23
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Australia
Posted: 11th Jan 2006 06:14 Edited at: 31st Mar 2011 05:11
This piccy is of an of importer function to help users load vector shapes from RasterToVector apps directly into PlayBasic's vector shape engine.

While you can render them, their use is for Real collision

ImportShape - RasterToVector

Kevin Picone
23
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Australia
Posted: 15th Jan 2006 07:51 Edited at: 26th Mar 2011 23:06
Added ray intersection to the vector shapes command set. So now you can find the closest impact point and the normal at the point of the impact.

This can be used to calc reflections or attachments at point. While this was possible before, previously you had to use sprites.

See picture

Login to post a reply

Server time is: 2026-06-12 23:24:03
Your offset time is: 2026-06-12 23:24:03