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.

DarkBASIC Professional Discussion / Dark Dynamix raycast data doesn't work

Author
Message
Kuper
10
Years of Service
User Offline
Joined: 25th Feb 2008
Playing: Planescape:Torment
Posted: 21st Jul 2018 22:41 Edited at: 24th Jul 2018 20:49
Find that it impossible to collect collision data when using Ray Cast with DarkDynamix
DYN RAYCAST HIT GET DISTANCE () just crush down application

PS
Sorry I find a solution from modified .dll which provide WickedX

PPS
The problem which was and it is is that:
when you raycast and ray get hit before first sync the program crash down.When it doesn't hit and
DarkDynamix update scene at least once - raycasting will work fine.Solution that I find, is to use
"DYN SET POSITION" for all physic objects in scene.

Login to post a reply

Server time is: 2019-02-21 00:10:00
Your offset time is: 2019-02-21 00:10:00