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 / AGK v2 collision

Author
Message
Sotty
9
Years of Service
User Offline
Joined: 31st May 2015
Location:
Posted: 31st May 2015 19:18
Hi

I've got AppGameKit v2 and I can't work out how 3D collision works. I don't see anything like GetObjectHit or GetObjectCollision so how do we check for collisions between 3D objects??

Thanks in advance.
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 31st May 2015 19:39
3D isn't complete yet. They are working on it now, hopefully we'll see some new commands very soon.

Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 1st Jun 2015 11:08
3D collision is there already. I have used it, it is based on Sparky's collision from DBPro. Take a look at these commands: https://www.appgamekit.com/documentation/Reference/3D.htm

Specifically you can use raycasting, spherecasting and spheresliding. I thought there was more than that but I guess I've managed well enough using those commands in the past. When bullet physics is implemented I imagine we will have a lot more tools to play with but I would guess we have a few months to wait for that.

Using AppGameKit V2 Tier 1

Login to post a reply

Server time is: 2024-11-16 18:20:55
Your offset time is: 2024-11-16 18:20:55