Get the camera mode for a player

Post Reply
User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Get the camera mode for a player

by runs » Post

To know if the player is in first or third person.

Any Function?

User avatar
Miniontoby
Member
Posts: 616
Joined: Fri Mar 01, 2019 19:25
GitHub: Miniontoby
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

Re: Get the camera mode for a player

by Miniontoby » Post

I though that was possible at least at the csm

https://github.com/minetest/minetest/bl ... i.txt#L975

minetest.camera:get_camera_mode()
I think
Working on mtctl ---- Check my mod "Doorbell" -- Stay safe

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: Get the camera mode for a player

by runs » Post

Miniontoby wrote:
Sat Mar 06, 2021 13:32
I though that was possible at least at the csm

https://github.com/minetest/minetest/bl ... i.txt#L975

minetest.camera:get_camera_mode()
I think
Thankz

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests