dokato Posted March 25, 2015 Posted March 25, 2015 How can u determine if the player is interacting with a specific object? And i mean something else than isAnimating(). Is there another method for that? cuz i tried to search in api but found nothing.
Okabe Posted March 25, 2015 Posted March 25, 2015 If the interaction triggers a interface you could check if its visible. 1
Botre Posted March 25, 2015 Posted March 25, 2015 You need to look for reactions of the interaction. That is, unless you are interacting with a character (Player, NPC), then you can use getInteracting(). 1
Mysteryy Posted March 26, 2015 Posted March 26, 2015 You need to look for reactions of the interaction. That is, unless you are interacting with a character (Player, NPC), then you can use getInteracting(). ^ It seems to me getInteracting() is what you wanted.