Questions tagged [nvidia-flex]

NVIDIA Flex is a particle-based physics simulator (solver). It uses NVIDIA hardware and CUDA libraries to accelerate and parallelize the simulation.

10 questions
2
votes
1 answer

Nvidia flex data transfer

So I'm trying to use the flex API by NVIDIA for my game engine(as a core gameplay mechanic) and I'm now arranging my data structures. I've already read the flex Manual, but the descriptions are rather sparsely. Because I'm also using CUDA, I need to…
Dynamitos
  • 511
  • 6
  • 18
1
vote
1 answer

How do I make a softbody jello sphere with NVIDIA FleX in Unity3D?

I am currently using the NVIDIA FleX package in Unity3D to create soft-bodied, jelly objects. I'm using Unity for animation only, not game dev. What I am aiming to make is a transparent, jello sphere that retains its spherical shape with…
ags
  • 43
  • 6
1
vote
1 answer

Calculate/approximate the velocity and rotation impulse on a rigid body, given only a force at a position and the rigidbody's center of mass?

I'm working on a compute shader that allows two-way physics interaction between a fluid particle engine (NVidia Flex) and a rigidbody physics engine (Unity3D Engine). Basically for the compute shader I'm using 5 input buffers: (float4) particle…
1
vote
1 answer

Unity NVIDIA Flex, add force

This might be a rather niche question, but maybe someone can help me out. I used the NVIDIA Flex plugin for unity to create a soft body object in a sphere shape and I would like to move it around by applying an impulse to it. Without Flex, I would…
Melodix
  • 59
  • 1
  • 5
1
vote
1 answer

Nvidia Flex soft body constraint type

When creating a soft body in Nvidia Flex using NvFlexExtCreateSoftFromMesh() which results in particles grouped together in clusters, which constraint type of Position-Based Dynamics will be used? Is it shape matching or general distance constraints…
Jojo
  • 157
  • 6
1
vote
1 answer

unreal engine 4 making a cable wrap around objects

does anyone know how to make a cable component respond to being blocked by other physics components in unreal engine 4? game has a swinging rope that should wrap around objects it hits, instead every setting I try it is still passing through them.
0
votes
1 answer

How do you setup a simulation with Nvidia Flex?

I've read through the docs https://docs.nvidia.com/gameworks/content/gameworkslibrary/physx/flex/manual.html?ncid=afm-chs-44270&ranMID=44270&ranEAID=a1LgFw09t88&ranSiteID=a1LgFw09t88-TGVNs5HtsNwQmL1xZ5XT8A#particles But I still can't get a working…
ENR813
  • 1
  • 1
0
votes
1 answer

Nvidia Flex: Why can't I set particle count in FlexArray Actor? (Unity)

Im new to coding in C# and I'm not able to set the particle count in the Nvidia FlexArray script, the particle count public class appears grey and can't be edited. It is somehow permanently set to 0. Ive attached an image and the script that comes…
Anirudh
  • 11
  • 1
  • 2
0
votes
1 answer

ID3D11DeviceContext::CopyResource with different D3D11_USAGE

I am exporing Nvidia's Flex but I am very new to D3D. I am trying to copy between two ID3D11Buffer which are created using different D3D11_BUFFER_DESC. I wanted to use ID3D11DeviceContext::CopyResource() since it's GPU-GPU copy but the code is…
0
votes
1 answer

Unable to compile Nvidia Flex on Ubuntu

I'm trying to compile Flex on Linux (Ubuntu 14.04). I'm getting the following error that I haven't been able to wrap my head around: /usr/bin/ld: ../../../external/SDL2-2.0.4/lib/x64//libSDL2.a(SDL_syssem.o): undefined reference to symbol…
Amir
  • 10,600
  • 9
  • 48
  • 75