Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Display error of running program unity #6

Open
weiyu666 opened this issue Feb 21, 2023 · 3 comments
Open

Display error of running program unity #6

weiyu666 opened this issue Feb 21, 2023 · 3 comments

Comments

@weiyu666
Copy link

企业微信截图_8cca59d1-9d9e-40ee-a0b4-c76889af3c7d

Or display such an error:
`UnassignedReferenceException: The variable clothSolver of GPUClothSimulation has not been assigned.
You probably need to assign the clothSolver variable of the GPUClothSimulation script in the inspector.
GPUClothSimulation.SimulateOneTimeStep () (at Assets/GPUClothSimulation/Scripts/GPUClothSimulation.cs:137)
GPUClothSimulation.Update () (at Assets/GPUClothSimulation/Scripts/GPUClothSimulation.cs:113)

NullReferenceException: Object reference not set to an instance of an object
GPUClothSimulationLegacy.DispatchKernels () (at Assets/GPUClothSimulation/Scripts/GPUClothSimulationLegacy.cs:445)
GPUClothSimulationLegacy.FixedUpdate () (at Assets/GPUClothSimulation/Scripts/GPUClothSimulationLegacy.cs:204)

IndexOutOfRangeException: Index was outside the bounds of the array.
GPUClothSimulation.Start () (at Assets/GPUClothSimulation/Scripts/GPUClothSimulation.cs:97)`

@nixon-voxell
Copy link
Owner

as mentioned in #5 , this project is really in a paused state for now until further announcement xd.

for now, I can only point you to some resources:

PBD / XPBD by Matthias Muller
for collision you can look for:

hope it helps!

@weiyu666
Copy link
Author

In China, I saw that this course has just started, but it is still very difficult. I haven’t done it before and feel that I can’t do it hahaha. Are there any open source libraries or recommended projects?
https://mp.weixin.qq.com/s?__biz=MzI0MTY1NTk1Nw==&mid=2247494025&idx=1&sn=0ca74940772751667a1cc531cbb4b1c5&chksm=e90ae073de7d6965a2a3018fdba725e3dd983761658aef519122609cb579385b5c0108bb11f8&mpshare=1&scene=23&srcid=0227nW6IIc90RNkH445zDlKi&sharer_sharetime=1677460473590&sharer_shareid=16adbc0aa70dfdd7612e89590a369419#rd

@nixon-voxell
Copy link
Owner

for gpu accelerated cloth simulation in unity, here is one that I looked at when starting out: https://github.com/Ninjajie/Fusion

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

No branches or pull requests

2 participants