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.

Dark Physics & Dark A.I. & Dark Dynamix / [Dark Dynamix] Ray cast doesn't work?

Author
Message
Kuper
16
Years of Service
User Offline
Joined: 25th Feb 2008
Playing: Planescape:Torment
Posted: 2nd Nov 2015 00:35
Hi! I cant make ray cast work.This simple code is from official examples.


Here i use simple box but raycast doesn't work with comlex objects also.
Kuper
16
Years of Service
User Offline
Joined: 25th Feb 2008
Playing: Planescape:Torment
Posted: 4th Nov 2015 19:35
revenant chaos
Valued Member
17
Years of Service
User Offline
Joined: 21st Mar 2007
Location: Robbinsdale, MN
Posted: 9th Nov 2015 19:32
I think the ray's direction vector needs to be normalized.
Kuper
16
Years of Service
User Offline
Joined: 25th Feb 2008
Playing: Planescape:Torment
Posted: 10th Nov 2015 04:40

Amazing! Its works!Thanks a lot!

Login to post a reply

Server time is: 2024-11-24 10:56:44
Your offset time is: 2024-11-24 10:56:44