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.

DLL Talk / NGC ellip offset has no effect using raycast?

Author
Message
David T
Retired Moderator
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 6th Jan 2005 03:26
Hi,

(I'm using v2.03)

I've tried to get my enemies to have collsiion on them so I can do a raycast when shhoting to determine whether they're being hit.

However the origin of the model is at the feet of the enemy - so I offset the ellipse to the centre of the body and set the radius from there - this is fine for collision but using rayintersecttypepro() I still can only detect collision from the area around the feet of the enemy (ie the ellipse is still at the origin).

Anybody else got this?

Get 15 new commands, all the date / time commands left out of DBPro for free!
DOWNLOAD PLUGINS HERE: http://www.davidtattersall.me.uk/ and select "DarkBasic"

Login to post a reply

Server time is: 2024-11-23 10:01:59
Your offset time is: 2024-11-23 10:01:59