Larian Banner
Previous Thread
Next Thread
Print Thread
Scenery Building, Stairs AI Problem #670953
22/07/20 06:48 PM
22/07/20 06:48 PM
Joined: Jul 2020
Posts: 2
Furious Paladin Offline OP
stranger
Furious Paladin  Offline OP
stranger

Joined: Jul 2020
Posts: 2
Hello all, I'm fairly new to divinity engine, and I'm having trouble properly setting up my stairs in a level I'm building.

I'm properly aligning a "05m_WoodenHouse_A_Stair_Up_A_Item_002"
to a "05m_WoodenHouse_A_Platform_E_Item_000", as shown below:

[img]https://drive.google.com/file/d/1arcQ5jAfqXwYdZyJDmMVu6XuDEVm0RPM/view?usp=sharing[/img]

Then I'm generating an AI grid, painting the appropriate areas to connect the stairs.
The produced grid is shown below:

[img]https://drive.google.com/file/d/1bmimpsBr917dA3V3Xte5x8OfsHdGzkhY/view?usp=sharing[/img]

As you can see, the height map does not fit the stairs, but it's a little bit higher, making the character fly
when going up the stairs, as shown below:

[img]https://drive.google.com/file/d/1mkq28m0hMDeRYLMC512PfjCcPgKlGph5/view?usp=sharing[/img]

What am I doing wrong? Thank you in advance.


Re: Scenery Building, Stairs AI Problem [Re: Furious Paladin] #670954
22/07/20 06:53 PM
22/07/20 06:53 PM
Joined: Mar 2016
Posts: 506
Belgium
T
Tinkerer Offline

addict
Tinkerer  Offline

addict
T

Joined: Mar 2016
Posts: 506
Belgium
Can you try pressing ctrl-shift-e? That will show you the physics of all items as green bounding boxes. It looks like the physics of those stairs are wrong...

Re: Scenery Building, Stairs AI Problem [Re: Furious Paladin] #670955
22/07/20 07:30 PM
22/07/20 07:30 PM
Joined: Jul 2020
Posts: 2
Furious Paladin Offline OP
stranger
Furious Paladin  Offline OP
stranger

Joined: Jul 2020
Posts: 2
Thank you, your answer lead me to the right direction. The physics of the object were indeed wrong.
The keys you suggested did nothing however, perhaps I'm missing something?

I've found the option to show the physics mesh in the preview window however.
I suppose the item I was using was modeled simply as a visual, non interactable stair?
Because I've found other similar items with correct meshes.

For anyone viewing this thread and needing further explanation, I've found this to be adequate:
https://docs.larian.game/My_first:_Item_-_Scenery

I'm showing the preview of the old item, and the new one, below, to make it more clear:

[img]https://drive.google.com/file/d/1LXSQGcmVCx-1TeGvPP5VJzt7oDQ7pniC/view?usp=sharing[/img]


Moderated by  Larian_Koala, Larian_KVN 

Powered by UBB.threads™ PHP Forum Software 7.6.2