Crystal Space
Welcome, Guest. Please login or register.
November 21, 2017, 04:38:11 pm

Login with username, password and session length
Search:     Advanced search
9081 Posts in 2051 Topics by 80575 Members
Latest Member: Latanowicz1971
* Home Help Search Login Register
+  Crystal Space
|-+  Associate Projects
| |-+  CEL Discussion
| | |-+  NPC Movement
« previous next »
Pages: [1] Print
Author Topic: NPC Movement  (Read 3762 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.483 seconds with 16 queries.