Time |
Nick |
Message |
00:03 |
|
Can0xfBows joined #luanti |
00:21 |
|
FileX joined #luanti |
01:03 |
bgstack15 |
Is there a way to determine the coordinate on the side of the node where the player right-clicked? That is, upper left quadrant, etc., hopefully in a 2-dimensional value? |
01:03 |
bgstack15 |
That is, where on the node the player clicked? |
01:03 |
bgstack15 |
Even if I will have to do that ray stuff with the player line of sight? |
01:31 |
cheapie |
bgstack15: I usually find myself doing a raycast and writing something like this: https://cheapiesystems.com/git/celevator/tree/car.lua#n3 |
01:34 |
bgstack15 |
I found core.pointed_thing_to_face_pos() in the lua_api.md. Is that not good enough? I can see in your code you're able to distinguish hitpos so it does sound usable. |
01:35 |
repetitivestrain |
Blockhead256: could you forward my responses to Krock to the ticket? |
01:36 |
repetitivestrain |
https://irc.luanti.org/luanti/2025-07-21#i_6273829 |
01:37 |
cheapie |
I think you have to do the raycast anyway to get the pointed_thing that works with it, IIRC a pointed_thing from a punch or whatever only has 1m precision |
01:38 |
|
m42uko joined #luanti |
01:41 |
cheapie |
Looking more into it, maybe you don't, but from reading the code I'm not sure how it works or what position it even returns, and the docs aren't much help either |
02:06 |
|
SFENCE joined #luanti |
02:14 |
bgstack15 |
I finally got enough test material set up to try core.pointed_thing_to_face_pos. It returns a tuple of the two dimensions on the face, with exact (approx. 11 digits of precision) x,y or y,z or x,z where the click happened. I suppose it'll take a tiny bit of normalization to determine the segments I care about, but it'll work! |
02:14 |
bgstack15 |
er, I was missing the stuff before a newline. It is a full 3-value pos. |
02:17 |
bgstack15 |
Hm, I suppose I need to determine if the click was on the front of the node. Got any cool tricks for that? |
02:32 |
|
aliasalreadytake joined #luanti |
02:53 |
bgstack15 |
I had to implement some logic, but I got it! This is awesome. I'm working on a bookshelf, where you must use the side with the shelf. |
03:33 |
[MatrxMT] |
<Blockhead256> repetitivestrain: https://github.com/luanti-org/luanti/pull/16339#discussion_r2227239873 https://github.com/luanti-org/luanti/pull/16339#discussion_r2227240113 |
03:33 |
[MatrxMT] |
<Blockhead256> I hope I have forwarded all of the comments and done so correctly |
03:57 |
|
SFENCE joined #luanti |
04:00 |
|
MTDiscord joined #luanti |
04:08 |
|
MTDiscord joined #luanti |
04:43 |
repetitivestrain |
Blockhead256: Thank you |
07:12 |
|
SpaceMan1ac joined #luanti |
08:21 |
|
mrkubax10 joined #luanti |
08:28 |
|
WoGoMo joined #luanti |
08:36 |
|
SFENCE joined #luanti |
09:14 |
|
SFENCE joined #luanti |
09:34 |
|
Noisytoot joined #luanti |
09:35 |
|
SFENCE joined #luanti |
09:45 |
|
SFENCE joined #luanti |
10:23 |
|
YuGiOhJCJ joined #luanti |
10:26 |
|
MinetestBot joined #luanti |
10:39 |
|
SFENCE joined #luanti |
10:49 |
|
MinetestBot joined #luanti |
10:50 |
sfan5 |
good news: I did the thing |
10:50 |
sfan5 |
!mod skinsdb |
10:50 |
MinetestBot |
sfan5: Mod: SkinsDB [skinsdb] by bell07 - https://content.luanti.org/packages/bell07/skinsdb/ |
10:53 |
sfan5 |
!cdb soothing |
10:53 |
MinetestBot |
sfan5: Texture Pack: Soothing 32 [soothing32] by Zughy - https://content.luanti.org/packages/Zughy/soothing32/ |
10:53 |
sfan5 |
right |
11:02 |
|
SFENCE joined #luanti |
11:32 |
|
ireallyhateirc joined #luanti |
11:41 |
|
SFENCE joined #luanti |
12:21 |
|
FileX joined #luanti |
12:55 |
|
silverwolf73828 joined #luanti |
13:14 |
|
jistr joined #luanti |
13:14 |
|
SFENCE joined #luanti |
13:25 |
|
cheek_pain joined #luanti |
13:25 |
|
SFENCE joined #luanti |
13:30 |
|
SFENCE joined #luanti |
13:38 |
|
ltuyen joined #luanti |
13:39 |
ltuyen |
Hello! |
13:40 |
ltuyen |
Can i really trust this social media and fediverse platform, for example TikTok, Facebook and Bluesky? |
13:40 |
|
bracket joined #luanti |
13:41 |
ltuyen |
I never used this social media and fediverse platform. and i never have an account on this social media platform |
13:42 |
sfan5 |
not sure how this relates to luanti |
13:43 |
MTDiscord |
<rollerozxa> liberachat IRC? sure, yes, you can trust it |
13:44 |
ltuyen |
I will try to avoid brainwashing as much as possible. |
13:47 |
|
ltuyen left #luanti |
14:07 |
|
turtleman joined #luanti |
14:10 |
|
SFENCE joined #luanti |
14:15 |
|
bracket joined #luanti |
15:07 |
[MatrxMT] |
<birdlover32767> !help |
15:07 |
[MatrxMT] |
<birdlover32767> ... |
15:07 |
[MatrxMT] |
<birdlover32767> !cmds |
15:08 |
[MatrxMT] |
<birdlover32767> !commands |
15:08 |
[MatrxMT] |
<birdlover32767> what are the commands for mtbot? |
15:12 |
rubenwardy |
!help |
15:12 |
MinetestBot |
https://github.com/sfan5/minetestbot-modules/blob/master/COMMANDS.md |
15:24 |
|
SFENCE joined #luanti |
15:39 |
|
SFENCE joined #luanti |
15:40 |
|
SwissalpS joined #luanti |
15:55 |
|
fluxionary joined #luanti |
16:13 |
[MatrxMT] |
<birdlover32767> so it only works on IRC |
16:42 |
|
SFENCE joined #luanti |
16:55 |
|
Talkless joined #luanti |
17:16 |
|
SFENCE joined #luanti |
17:57 |
|
SFENCE joined #luanti |
18:12 |
|
SFENCE joined #luanti |
18:19 |
|
jaca122 joined #luanti |
18:38 |
|
SFENCE joined #luanti |
18:46 |
|
SFENCE joined #luanti |
19:03 |
gideonstar |
Neither TikTok, Facebook nor Bluesky have anything to do with the Fediverse ^^ |
19:26 |
gry |
bluesky doesnt ? |
19:28 |
gideonstar |
There is a bridge but the protocol is different |
19:32 |
|
SFENCE joined #luanti |
19:38 |
|
SFENCE joined #luanti |
20:08 |
|
SFENCE joined #luanti |
20:19 |
gry |
ok |
20:22 |
|
mrkubax10 joined #luanti |
20:24 |
|
lemonzest joined #luanti |
20:38 |
|
jaca122 joined #luanti |
21:17 |
|
SFENCE joined #luanti |
21:45 |
|
SwissalpS joined #luanti |
21:49 |
|
SFENCE joined #luanti |
22:05 |
|
Kimapr joined #luanti |
22:35 |
|
panwolfram joined #luanti |
22:40 |
|
SFENCE joined #luanti |
22:54 |
|
SFENCE joined #luanti |
23:05 |
|
Eragon joined #luanti |
23:18 |
|
Sompi joined #luanti |
23:19 |
|
ineva joined #luanti |
23:23 |
|
FileX joined #luanti |
23:30 |
|
SFENCE joined #luanti |
23:41 |
|
WoGoMo joined #luanti |