Hello
I have beds, wich switch the daytime, if using them.
All my player-characters have a lying animation at the same position in their animation-timeline.
How can i make the player appear lying on the bed for a few secconds, before switching daytime?
My beds are exact a half node high.
Must the laying animation in blender appear a half node-size below or above the ground-grid to make the player lay exactly on the surface of the bed?
How do i activate laying animation of the player in a bed?
- Drachenbauer32
- Member
- Posts: 105
- Joined: Wed Aug 28, 2019 18:11
Re: How do i activate laying animation of the player in a be
Looking at the original beds mod, you can see that setting of the player model animation is set like so:
https://github.com/minetest/minetest_ga ... ns.lua#L98
You may find this method documented here:
https://github.com/minetest/minetest/bl ... .txt#L5599
https://github.com/minetest/minetest_ga ... ns.lua#L98
You may find this method documented here:
https://github.com/minetest/minetest/bl ... .txt#L5599
- Drachenbauer32
- Member
- Posts: 105
- Joined: Wed Aug 28, 2019 18:11
Re: How do i activate laying animation of the player in a be
i made my beds out of the original one.
So this functions.lua is still there.
But as i tested the bed, i didn´t see the laying-pose of my character...
So this functions.lua is still there.
But as i tested the bed, i didn´t see the laying-pose of my character...
Who is online
Users browsing this forum: No registered users and 8 guests