Destructible stations - NPC spawn location x and y rounded?

Started by ninekorn, August 03, 2019, 01:16:35 PM

ninekorn

discontinued 2023 july 29th . by ninekorn

ai_enabled

Hello!

So they're spawned in the correct location...I'm not sure why they're not displayed exactly as they spawned. Are you sure the location is not changed after spawn? If you're using physical shapes for these objects they might pull each other away. Have you tried spawning them without physical colliders? Also, have you tried using simple 3D cube models to check that the issue is not related to 3D models?

Regards!

ninekorn

discontinued 2023 july 29th . by ninekorn

ai_enabled

Python skills are certainly useful :-)

So, I would suggest simply using a 1*1*1 cube model and spawning it as multiple turrets on exact 1 unit distance between them. This should work properly if your units conversion is done properly, otherwise, there will be regular intervals between all objects.

Regards!

ninekorn

discontinued 2023 july 29th . by ninekorn

ninekorn

discontinued 2023 july 29th . by ninekorn

ai_enabled

Hi,
I'm not sure which units we were using for the models in Blender but I guess it's standard 1 unit == 1 meter.
The Blender export settings which we've used then are posted here on a screenshot http://wiki.atomictorch.com/VoidExpanse/Adding_Ships

Regards!

ninekorn

discontinued 2023 july 29th . by ninekorn