Crystal Space
Welcome, Guest. Please login or register.
October 09, 2015, 05:10:33 pm

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

View Profile WWW
« on: March 06, 2006, 09:45:07 pm »


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?


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 4.238 seconds with 17 queries.