Guild icon
Teeworlds
discord.gg/teeworlds / development
For discussions around the development of the official Teeworlds
Between 2024-07-23 00:00 and 2024-07-24 00:00
Avatar
hello
👀 2
15:40
how to make player invisible for other player and disable collisions between them?
15:40
in 0.6
Avatar
learn C++, read the codebase, modify the code base. Might check out the DDNet (ddnet.org) code base which already does that for players in different teams.
Avatar
i read code and could make player invisible. but i dont think this is done properly because if one player hooks in direction of other player (invisible to him) the hook position seems to change to zero coordinates
15:47
Avatar
Avatar
medveed
i read code and could make player invisible. but i dont think this is done properly because if one player hooks in direction of other player (invisible to him) the hook position seems to change to zero coordinates
Go to the code sections where player and hook collision is checked and exclude the hidden player
Avatar
and how to fix shaking? i dont know why it is shaking, i think i excluded invisible player from colliding in every place
Avatar
it's shaking because of collision
16:20
is ot?
16:20
it
Avatar
in Tick(), Move() and something more
Avatar
Avatar
jxsl13
it's shaking because of collision
yes, but what i missed
Avatar
I don't know :(. look at the collision code wherever it is. I'm too far away from that codebase, so dunno.
16:23
player body collision
Avatar
yes, but i found about 3 places where it is checked and put everywhere continue/return when they should not collide and it is shaking
Avatar
Avatar
medveed
yes, but i found about 3 places where it is checked and put everywhere continue/return when they should not collide and it is shaking
ɢͥᴏᴊᴇ ɢʀᴇᴇͣɴͫ ! 2024-07-23 17:54
A retro multiplayer shooter. Contribute to teeworlds/teeworlds development by creating an account on GitHub.
Avatar
Avatar
medveed
yes, but i found about 3 places where it is checked and put everywhere continue/return when they should not collide and it is shaking
ɢͥᴏᴊᴇ ɢʀᴇᴇͣɴͫ ! 2024-07-23 18:30
A retro multiplayer shooter. Contribute to teeworlds/teeworlds development by creating an account on GitHub.
Exported 19 message(s)
Timezone: UTC+0