Maybe there's something I'm not understanding here about mesecon operation?
I tried the Minecraft standard pressure plate in front of a door and it was so slow as to be unusable. Buttons seem to work fine, although I much prefer pressure plates to buttons.
Visually, it appears that you have to stand on the pressure plate for a second before it sends a signal. Is there a way to get it to react instantly?
Pressure plate is slow
Pressure plate is slow
Minetest developers should steal all the good ideas in Minecraft.
Linux is all the good ideas from Unix. It's a proven strategy.
Linux is all the good ideas from Unix. It's a proven strategy.
- Calinou
- Moderator
- Posts: 3169
- Joined: Mon Aug 01, 2011 14:26
- GitHub: Calinou
- IRC: Calinou
- In-game: Calinou
- Location: Troyes, France
- Contact:
Re: Pressure plate is slow
No, because pressure plates poll for player presence every second (doing it more often would use even more resources). There's currently no callback in the Minetest API that says, "do this when player steps on a node".Tigerlore wrote:Is there a way to get it to react instantly?
Re: Pressure plate is slow
Should be. Many of those. Minetest really needs an event systemCalinou wrote:There's currently no callback in the Minetest API that says, "do this when player steps on a node".
- everamzah
- Member
- Posts: 490
- Joined: Thu Jan 29, 2015 00:47
- GitHub: everamzah
- IRC: everamzah
- In-game: everamzah
Re: Pressure plate is slow
nodetimer_interval = 0.1 will make it so the pressure plate is depressed almost immediately once you step onto it. Otherwise, IIRC, it defaults to 1 second.
Who is online
Users browsing this forum: No registered users and 7 guests