Dynad
Member
|
Actor + mesh
hey,
I want to make a grenade for my fps, i wanted to-do with Actor + addForce(). But i don't know how u can do this because u can only create standard shapes.
Is there another way to create this effect for throwing a grenade?
Thnx,
~Dynad
There is always evil somewhere, you just have to look for it properly.
|
|
01-27-2010 08:27 PM |
|
Esenthel
Administrator
|
RE: Actor + mesh
you can use simple geometric shape for grenade (Ball or Capsule or Tube)
and then draw a custom mesh with actor.matrix()
|
|
01-27-2010 08:33 PM |
|
Dynad
Member
|
RE: Actor + mesh
OK i am little confused, do i have to create an obj first with a grenade as mesh and then give the matrix parameters from the ball to the grenade obj?
There is always evil somewhere, you just have to look for it properly.
|
|
01-27-2010 11:54 PM |
|
Esenthel
Administrator
|
RE: Actor + mesh
you can just use Game::Item class,
set mesh+phys in world editor object properties
|
|
01-28-2010 06:24 PM |
|