About Store Forum Documentation Contact
Donations:
364$/mo



Post Reply 
bullet vs character
Author Message
PRG3D Offline
Member

Post: #1
bullet vs character
What I can detect collision with character bone? I have only bullet pos, bullet move and character. When I use Cuts function I don't have collision position... How I can use ray, or something like this?

Sorry for my english...
01-27-2011 05:21 AM
Find all posts by this user Quote this message in a reply
Driklyn Offline
Member

Post: #2
RE: bullet vs character
Take a look at: EsenthelEngineSDK\Tutorials\Source\Advanced\4 - Demos, Game Basics\Demos\Swing Collision Detection.cpp
01-27-2011 07:35 AM
Find all posts by this user Quote this message in a reply
PRG3D Offline
Member

Post: #3
RE: bullet vs character
But, when I use Cuts(...) function, I don't have collision position bullet witch bone.

Edit:
I use: if(Cuts(Edge(bullet->pos,bullet->pos+bullet->move),shape.capsule)) to detect collision betwen ray and shape(bone). What is the collision position?
(This post was last modified: 01-31-2011 02:50 PM by PRG3D.)
01-28-2011 09:58 PM
Find all posts by this user Quote this message in a reply
Post Reply