Before updating to Windows 10 you may need to return your Pro license. More information here

Help with kinematic NPCs following non-Kinematic player and avoiding obstacles

Hi, I want to make some fairies NPCs following the avatar that is controlled by physics using forces. However for the NPCs part I want to control their positions and rotations directly using flocking steering algorithm (http://www.red3d.com/cwr/steer/gdc99/).


1) Set the NPC as kinematic rigid body, and I manually update their positions and rotations by that algorithm, is that possible to still make use of the physics to avoid going into the obstacles for NPC without implementing the collision detection by myself?

2) Set the NPC as non-Kinematic rigid body as I did for the avatar, and all of them are controlled by physics. In this case, since all I need to input are the forces, is that still possible to make use of the flocking algorithm on the NPC to make it follow the avatar? Plus I dont want the NPCs to apply any force to the avatar if they can collide.


more ▼

asked Dec 07, 2010 at 05:11 PM

avatar image

1 3 2 2

(comments are locked)
10|3000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments



asked: Dec 07, 2010 at 05:11 PM

Seen: 1348 times

Last Updated: Dec 07, 2010 at 05:11 PM