[Papervision3D] Bullet? High Speed Object...

Anthony Tambrin copet80.mailinglist at gmail.com
Mon Apr 2 00:25:12 EDT 2007


Hi Peter,

How about intersecting of the projectile line against the object in question
and see if the bullet have passed the object, say:

if (bullet.hasPassed(object) && bullet.intersectPath(object)) ...... // then
we can safely assume the bullet must've hit the object

Cheers,
Anthony


On 4/2/07, Peter Kapelyan <flashgames at comcast.net> wrote:
>
>  Hi all,
>
> How can I make a high speed bullet type or rail object that will check if
> it hit anything polygon wise in another model/Cube etc?
>
> I have made a sprite move forward at high speed but at too high of a
> speed, it can skip an object for a hittest.
> I tried to make a large narrow box but it's showing up as polygon
> collision based, and I don't think you can rotate a bounding box - can you?
>
> How can I do this?
> Thanks
> -Pete
>
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20070402/25b792a3/attachment.htm


More information about the Papervision3D mailing list