About Store Forum Documentation Contact



Post Reply 
Bullets Collision
Author Message
Seba Offline
Member

Post: #16
RE: Bullets Collision
How i can interpreted density and force in game?
If i set 100 density it will be 100 kg or how?
In force when i set Vec(30,0,0) it will be 30 N in symulation?
I need it to set correct behaviours of items.
12-05-2009 09:18 PM
Find all posts by this user Quote this message in a reply
Seba Offline
Member

Post: #17
RE: Bullets Collision
Can i set weight like that:
Quote:if(Game::Param *p=obj.findParam("weight"))actor.mass(p->asFlt());
12-06-2009 01:43 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #18
RE: Bullets Collision
yes
12-06-2009 09:20 PM
Find all posts by this user Quote this message in a reply
GeekAntic Offline
Member

Post: #19
RE: Bullets Collision
it would be nice if u could post the code solved the collision prob
12-10-2009 08:41 PM
Find all posts by this user Quote this message in a reply
Seba Offline
Member

Post: #20
RE: Bullets Collision
You have code in Bloody Massacre. My code without extra part looks like that :
In BULLET::set add:
Quote:T.dir = dir;
In struct BULLET add:
Quote:Vec dir;
BULLET::update():
http://www.wklej.org/id/231332/
12-10-2009 09:01 PM
Find all posts by this user Quote this message in a reply
GeekAntic Offline
Member

Post: #21
RE: Bullets Collision
ty
12-10-2009 09:25 PM
Find all posts by this user Quote this message in a reply
Dampire Offline
Member

Post: #22
RE: Bullets Collision
How I can register bullet collision not on ctrl.actor, but on ragdoll actors? Maybe someone has already solved this problem. If you understand what I mean...
(This post was last modified: 08-04-2010 04:25 PM by Dampire.)
08-04-2010 04:24 PM
Find all posts by this user Quote this message in a reply
Dampire Offline
Member

Post: #23
RE: Bullets Collision
How I can get name of ragdoll's actor, when I use ray-test?
(This post was last modified: 08-05-2010 07:00 AM by Dampire.)
08-05-2010 06:59 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #24
RE: Bullets Collision
ragdolls and actors dont have a name
you can assign custom Actor::user pointer, maybe that will help you
08-05-2010 09:44 AM
Find all posts by this user Quote this message in a reply
Post Reply