30.06.2014, 20:16
Unfortunately running GetObjectPos on that specific object ID will return it's cue tip position, instead of the "center" position, so you will have to get the center pos by trial and error, AFAIK that cue stick is about a meter and a half long, so just add ±1,543 divided by 2* to either end of the stick to get position (relatively) in the middle of the pool cue.
* Got that number by measuring, it's not that "precise".
Edit: Use what Mauzen said, works precisely! You have to use trig to get the offsets right, though.
* Got that number by measuring, it's not that "precise".
Edit: Use what Mauzen said, works precisely! You have to use trig to get the offsets right, though.