Author Topic: Destructible stations - NPC spawn location x and y rounded?  (Read 3948 times)

ninekorn

  • Sr. Member
  • ****
  • Posts: 273
    • View Profile
Destructible stations - NPC spawn location x and y rounded?
« on: August 03, 2019, 01:16:35 pm »
discontinued 2023 july 29th . by ninekorn
« Last Edit: July 29, 2023, 01:58:19 am by ninekorn »

ai_enabled

  • AtomicTorch Founder
  • Hero Member
  • *****
  • Posts: 2038
    • View Profile
Re: Destructible stations - NPC spawn location x and y rounded?
« Reply #1 on: August 03, 2019, 03:46:28 pm »
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

  • Sr. Member
  • ****
  • Posts: 273
    • View Profile
Re: Destructible stations - NPC spawn location x and y rounded?
« Reply #2 on: August 03, 2019, 04:07:00 pm »
discontinued 2023 july 29th . by ninekorn
« Last Edit: July 29, 2023, 01:58:24 am by ninekorn »

ai_enabled

  • AtomicTorch Founder
  • Hero Member
  • *****
  • Posts: 2038
    • View Profile
Re: Destructible stations - NPC spawn location x and y rounded?
« Reply #3 on: August 03, 2019, 04:23:46 pm »
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

  • Sr. Member
  • ****
  • Posts: 273
    • View Profile
Re: Destructible stations - NPC spawn location x and y rounded?
« Reply #4 on: August 03, 2019, 06:32:39 pm »
discontinued 2023 july 29th . by ninekorn
« Last Edit: July 29, 2023, 01:58:29 am by ninekorn »

ninekorn

  • Sr. Member
  • ****
  • Posts: 273
    • View Profile
Re: Destructible stations - NPC spawn location x and y rounded?
« Reply #5 on: December 12, 2019, 04:17:38 am »
discontinued 2023 july 29th . by ninekorn
« Last Edit: July 29, 2023, 01:58:34 am by ninekorn »

ai_enabled

  • AtomicTorch Founder
  • Hero Member
  • *****
  • Posts: 2038
    • View Profile
Re: Destructible stations - NPC spawn location x and y rounded?
« Reply #6 on: December 12, 2019, 06:38:33 am »
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

  • Sr. Member
  • ****
  • Posts: 273
    • View Profile
Re: Destructible stations - NPC spawn location x and y rounded?
« Reply #7 on: December 12, 2019, 07:12:55 am »
discontinued 2023 july 29th . by ninekorn
« Last Edit: July 29, 2023, 01:58:38 am by ninekorn »