Jump to content

Disabling collision detection in NPCs?


fallingrising

Recommended Posts

I am sure others have noticed that using the console command TCL (ToggleCollision), with an NPC selected as reference, does not fully turn off the NPC's collision detection. I am trying to see if it is possible to fully disable NPC collision. I have looked to see if it is a setting in Game Settings but did not find anything that sounded right. Nor did I find a setting in the INI file.

 

Does anyone have any suggestions for where to look or what to do to fully turn off NPC collision detection?

 

Help or feedback is much appreciated.

Link to comment
Share on other sites

What is it that you specifically want to do? If an NPC is walking in a building, and you turn off collision for the NPC, where do you want them to go? The "navmesh" still won't let them walk through walls.

 

Hmm, yes I wondered if the navmesh was still affecting them. Thanks for that tip.

 

I want a simple way to get them off the ground to simulate flying or levitating in interior cells. I also want them close together so that, with collision toggled, they won't be affected by each others collision detection. This works for the player. When collision is toggled for the player, the player can levitate. But even with collision toggled for both player and npc, the npc's collision will still not allow the close proximity of the player or other npcs. At a certain distance threshold they repel each other.

 

I have done this in other mods by scripting their location using setpos x y z etc. When a script constantly updates their location, it will overcome the action of their collision repelling things. I wanted a more free form solution. I have done this in Oblivion mods, simulated levitation just by toggling the npc's collision, and was hoping to do something similar.

 

Thanks for the info.

Edited by fallingrising
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...