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
10
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
10
Years of Service
User Offline
Joined: 25th Feb 2008
Playing: Planescape:Torment
Posted: 4th Nov 2015 19:35
revenant chaos
Valued Member
11
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
10
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: 2018-09-21 15:22:55
Your offset time is: 2018-09-21 15:22:55