[DiscordArchive] <@200677690838220800> Is it regulated by the core that game objects that are declared as type door b
[DiscordArchive] <@200677690838220800> Is it regulated by the core that game objects that are declared as type door b
Archived author: Krutok • Posted: 2024-12-18T17:53:26.862000+00:00
Original source
<@200677690838220800> Is it regulated by the core that game objects that are declared as type door become transparent so that you can walk through the game object?
Archived author: Tea • Posted: 2024-12-18T17:53:55.744000+00:00
Original source
transparent? no, they play the open animation
Archived author: Krutok • Posted: 2024-12-18T17:55:30.943000+00:00
Original source
If we take a door, no matter which one, and it is opened, then this GO no longer has any matter so that you can walk through the game object. If it is closed, this has matter and you cannot walk through it.
Archived author: Tea • Posted: 2024-12-18T17:56:05.577000+00:00
Original source
oh, collision block is clientside and depends on state in smsg_update_object
Archived author: Krutok • Posted: 2024-12-18T17:57:21.216000+00:00
Original source
That's exactly what I mean, that the GO no longer has a collision when it is opened and whether this is regulated by the TC Core
Archived author: Tea • Posted: 2024-12-18T17:57:55.114000+00:00
Original source
core only defines state, whether it has collision in either state depends on client
![[Image: image.png?ex=690c3ab4&is=690ae934&hm=6bc...8f12ff293&]](https://cdn.discordapp.com/attachments/376457042392514560/1319002663861489725/image.png?ex=690c3ab4&is=690ae934&hm=6bc4548bc0fe5be2b3aaabd248cfd3d5854c93b9d31e3a21bcdcb028f12ff293&)
Archived author: Krutok • Posted: 2024-12-18T18:05:40.930000+00:00
Original source
OK, I thought that was defined in the m2 file itself and not controlled by the client, because I have various game objects that are opened and then certain effects appear and it looks unrealistic when the player can suddenly walk through, even though you could, for example, go up a flight of stairs before but then you can't anymore because the GO is open.
And I looked for a solution, but if it's controlled entirely by the client, I have no chance.
This is an example. Before you could go up the stairs. Now it is open and it is no longer possible because the collision is gone.
![[Image: image.png?ex=690c3ab4&is=690ae934&hm=6bc...8f12ff293&]](https://cdn.discordapp.com/attachments/376457042392514560/1319002663861489725/image.png?ex=690c3ab4&is=690ae934&hm=6bc4548bc0fe5be2b3aaabd248cfd3d5854c93b9d31e3a21bcdcb028f12ff293&)
Archived author: Krutok • Posted: 2024-12-18T18:06:23.589000+00:00
Original source
generally all GOs that are declared as type DOOR.