BabylonJS / Babylon.js

Babylon.js is a powerful, beautiful, simple, and open game and rendering engine packed into a friendly JavaScript framework.
http://www.babylonjs.com
Apache License 2.0
23.05k stars 3.41k forks source link

Ray bending #13591

Closed FluorescentHallucinogen closed 2 months ago

FluorescentHallucinogen commented 1 year ago

Current behavior:

The ray is always a straight line.

Expected behavior:

The ray bend while wobbling or selecting and pulling, like a lasso. See the Mixed Reality Toolkit (MRTK) behavior:

https://user-images.githubusercontent.com/7892779/222911161-75cc2798-7ab0-4766-a61a-347a4fd5a1e9.mp4

Discussion

Discussed with @RaananW in Twitter DM.

FluorescentHallucinogen commented 1 year ago

Can this be easily achieved by just using BABYLON.Curve3.CreateQuadraticBezier(origin, control, destination, nb_of_points)? 🤔

github-actions[bot] commented 6 months ago

This issue has been automatically staled because it has been inactive for more than 14 days. Please update to "unstale".

github-actions[bot] commented 5 months ago

This issue has been automatically staled because it has been inactive for more than 14 days. Please update to "unstale".

thomlucc commented 2 months ago

https://forum.babylonjs.com/t/change-behavior-of-ray-bending/52136