Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parameter not set if a contact sender is touching a receiver on play #43

Open
Protected opened this issue Apr 13, 2022 · 1 comment
Open

Comments

@Protected
Copy link

As stated in the title. I tried to add an overlapping sender as child of the receiver for testing purposes. On the receiver's inspector UI, the parameter was displayed as set (1). However, on the runtime component of the emulator, the parameter was initialized as unset (0) and that's the value that was passed to the animators.

@lyuma
Copy link
Owner

lyuma commented Apr 25, 2022

This is tricky. It sounds like an update order issue involving the initialization of the avatar's animator, and the ContactManager's first update tick.

I don't really know how or if I should fix this. Does it work ingame? (you'd have to switch avatars while inside a contact receiver or something)
I'd suggest using an animation to turn on the object shortly afterwards if you want to guarantee you get an event.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants