Floating NPC

Discuss Daggerfall Unity and Daggerfall Tools for Unity.
Post Reply
All4
Posts: 25
Joined: Sat Feb 25, 2023 6:25 pm

Floating NPC

Post by All4 »

Floating Enemy.PNG
Floating Enemy.PNG (782.79 KiB) Viewed 3071 times
No idea if this is a bug or not, I don't know what the developers intended to happen in this case or if they even considered it. This is in the dungeon block where there is a floating platform and you can pull the lever to complete the bridge. There was apparently someone on the platform and instead of falling or moving with the platform they just didn't move.

User avatar
Jay_H
Posts: 4072
Joined: Tue Aug 25, 2015 1:54 am
Contact:

Re: Floating NPC

Post by Jay_H »

This topic ended up in Quest Development, but it deals with the same quest marker: viewtopic.php?t=3165

User avatar
Interkarma
Posts: 7247
Joined: Sun Mar 22, 2015 1:51 am

Re: Floating NPC

Post by Interkarma »

The short version is that enemies aren't physically simulated in the same way as player. If the player is beyond a certain distance from enemy, their AI is disabled for performance reasons. This includes systems like navigation and falling. If you get close enough to the enemy to "wake up" their AI, they should fall out of the air.

Loot piles have the same problem on moving platforms, and they aren't physically simulated at all. Fun fact - the moving loot puzzles in the Daggerfall treasury where you acquire the numidium are all coded up to move using dungeon actions like one big Rube Goldberg machine.

Tamalak
Posts: 26
Joined: Sun Jan 31, 2021 8:00 pm

Re: Floating NPC

Post by Tamalak »

The funny thing is they sometimes DO fall eventually if they flail around enough :D

And shooting them with an arrow will make them fall for sure.

Post Reply