Method and device for realizing rope hanging effect based on box2d
A sub-rope and main-rope technology, applied in the computer field, can solve the problems of rigid fixation and inability to shake the rope, and achieve the effect of improving authenticity
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] Please refer to figure 1 , a box2d-based method for realizing the lanyard effect, including steps:
[0030] S1. Create the main rope control point rigid body and the sub-rope control point rigid body respectively through box2d;
[0031] Step S1 is specifically:
[0032] The main rope rigid body and the sub-rope rigid body are respectively created by box2d as the control points of the Bezier curve, and the corresponding main rope control point rigid body and sub-rope control point rigid body are obtained.
[0033] S2. Draw the main rope according to the rigid body of the main rope control points, and obtain corresponding points through bisection calculation;
[0034] Step S2 is specifically:
[0035] The main rope is drawn according to the rigid body of the main rope control point, and according to the implicit equation of the Bezier curve, the ordinate of the starting point of the sub-rope is obtained through bisection calculation.
[0036] S3. Use the calculated po...
Embodiment 2
[0039] Please refer to figure 2 , a device 1 based on box2d for realizing the lanyard effect, comprising a memory 2, a processor 3 and a computer program stored on the memory 2 and operable on the processor 3, when the processor 3 executes the program, it realizes Each step in the first embodiment.
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com