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 / ObjectRayCast() Locks up system if Physics is active

Author
Message
OminusPrime
9
Years of Service
User Offline
Joined: 30th Jun 2015
Location:
Posted: 1st Mar 2016 23:17
Looks Like ObjectRayCast() works well until a Physics world is created then it Locks up the system.

To demonstrate this use the simple 3D physics demo that comes with AGK2 add the line Hit=ObjectRayCast(0,-100,-100,-100,0,0,0) in the main loop and the whole thing locks up. some kind of interaction going on here, ???
Anyone have this working. ??



Thks Ominusprime
Stab in the Dark software
Valued Member
21
Years of Service
User Offline
Joined: 12th Dec 2002
Playing: Badges, I don't need no stinkin badges
Posted: 2nd Mar 2016 11:16
Works ok for me.
The coffee is lovely dark and deep,and I have code to write before I sleep.
Mobiius
Valued Member
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 2nd Mar 2016 11:24
I'm using the ray cast commands in my physics enabled game with no problems.

Login to post a reply

Server time is: 2024-09-29 11:32:59
Your offset time is: 2024-09-29 11:32:59