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

Collision generation low frequency #4

Open
Nymandrew opened this issue Jun 28, 2022 · 1 comment
Open

Collision generation low frequency #4

Nymandrew opened this issue Jun 28, 2022 · 1 comment

Comments

@Nymandrew
Copy link

Hello!

I see that the haptic loop fetches the position/speed of the haptic device and it's possible to apply forces/torques both at a high frequency (500-1000Hz). However, the generation of collisions in Unreal Engine works using the OnComponentHit function that releases the data on every Tick from Unreal Engine at low frequencies (60-120Hz). Even the sub-stepping experimental function from Unreal Engine releases all the collisions at the end of every Tick (60-120Hz) (see technical details here https://docs.unrealengine.com/4.27/en-US/InteractiveExperiences/Physics/Substepping/).

Therefore, even if your plugin can send forces to the device at 500-1000Hz, it is not possible to generate collision responses at 500-1000Hz in Unreal Engine to send them in real-time. Is this correct or are we missing something? Is there any possible way to calculate the collision forces at 500-1000Hz in Unreal Engine?

Thank you again.

@kumarswami
Copy link

@Nymandrew, Which Unreal engine Version You used to run the project? The project crashed on the 4.0.2 I tried.

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