p2sr / SourceAutoRecord

Speedrun plugin for Source engine games.
https://sar.portal2.sr/
MIT License
93 stars 29 forks source link

check tool improvements #213

Open KaziiTheAvali opened 8 months ago

KaziiTheAvali commented 8 months ago

I want to see if we can somehow add:

I keep getting a relatively random desync where a cube won't always go through a portal in time even though position and angle checks pass.

ThisAMJ commented 5 months ago

"is holding" should be doable, I'll need to take a look

"is looking at" is more complex because of how we define "looking at"... right now we only know entities by their origin (see autoaim ent), which isn't necessarily in the middle. also needs epsilon.

ThisAMJ commented 5 months ago

just checked, "is holding" is super doable with optional ent argument

for the record: player m_hUseEntity and m_hAttachedObject are ehandles to the pickup controller and to the held object respectively. pickup controller then has m_grabController which also has m_attachedEntity