About Store Forum Documentation Contact



Post Reply 
Actor + mesh
Author Message
Dynad Offline
Member

Post: #1
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
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #2
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
Find all posts by this user Quote this message in a reply
Dynad Offline
Member

Post: #3
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
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #4
RE: Actor + mesh
you can just use Game::Item class,
set mesh+phys in world editor object properties
01-28-2010 06:24 PM
Find all posts by this user Quote this message in a reply
Post Reply