-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
I am trying to retrieve the positional arrays of each particles in the mpm example in the unity side, however, I am having issues with obtaining this information. I have tried getting the vertex attribute position information which returns [0,0,0], and have tried using the ToArray() method in the NdArray class in order to obtain the arrays from the Taichi NdArray however, it continues to give me an error telling me that "Read from non-host-readable memory is not allowed." I have tried manually setting HostRead = true and then Unity crashed. Is there a way to retrieve this positional information or change the taichi ndarray to an array in c# that is readable without unity crashing?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels