Crystal Space
Welcome, Guest. Please login or register.
November 23, 2014, 02:37:01 pm

Login with username, password and session length
Search:     Advanced search
9018 Posts in 2046 Topics by 9095 Members
Latest Member: Manzsali
* Home Help Search Login Register
+  Crystal Space
|-+  Associate Projects
| |-+  CEL Discussion
| | |-+  NPC Movement
« previous next »
Pages: [1] Print
Author Topic: NPC Movement  (Read 2485 times)
bernardofd
Jr. Member
**
Posts: 74


59948732 bernardofd@click21.com.br
View Profile WWW
« on: March 06, 2006, 09:45:07 pm »

Hello!

I must animate my NPC's to walk in the scenario with a pre-defined (or dinamically defined) path. I have a propertie iPcLinearMove, but this makes the mesh just to fly around. I want to make my NPCs to walk facing the right direction with CD and gravity.

I've researched a little and I found a few possible ways:
1) I saw a method in the iPcMesh property class, called Move(iSector*, csVector3), that I think it works just like the csColliderActor::Move(csVector3).

2) CEL haves a iPcNPCMove property class but it is not implemented.

3) Use the iPcLinearMove with the right parameters (in last case only).

Which one do you guys think its the easiest/faster way to implement this? Maybe other suggestions?

Regards!
Logged

__________________________
Bernardo Figuerêdo Domingues
Computer Science - UFMG - Brazil
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 3.155 seconds with 15 queries.