Questions tagged [physx]

PhysX is a 3rd-party physics engine owned by NVIDIA and most commonly used in the video game industry.

117 questions
2
votes
1 answer

What replaces deprecated batch scene queries in nvidia physx 3.4?

Apparently, "The batched query feature has been deprecated in PhysX version 3.4". Does anyone know what replaces batch queries going forward?
GlassBeaver
  • 196
  • 4
  • 15
2
votes
2 answers

Unity3D, "knocked away" type light object?

In a Unity scene, imagine a large sliding object (perhaps a "shipping container" or a "sofa" sliding along for some reason) in the way there are a number of 2m tall light wooden sticks lightly stuck in the ground. in real life, the sticks would…
Fattie
  • 27,874
  • 70
  • 431
  • 719
2
votes
1 answer

Collision filtering with layers (PhysX 3.4)

I would like to filter my collisions with layers like in Unity, but I really don't understand how to do it. I'm following this tutorial :…
aqwerty
  • 61
  • 8
2
votes
1 answer

createTriangleMesh unhandled exception

I am using PhysX, OpenGL and assimp. I am getting 'unhandled exception ..... Access violation reading location 0x00000' at the last line void CreateActor(const aiScene *scene) { NxTriangleMeshDesc t; aiMesh *mesh = scene->mMeshes[0]; t.numVertices =…
Akshay Vats
  • 170
  • 9
2
votes
1 answer

undefined reference to `XF86VidModeSwitchToMode'

When I compile the physx's demo in ubuntu 12.04 there always appear some errors just like ./../../SampleFramework/platform/lib/linux64/libSamplePlatform-MTCHECKED.a(LinuxSamplePlatform.cpp.o): In function…
long0x0
  • 21
  • 3
2
votes
0 answers

Physx Particle Example

Does anyone know of a simple working example of a PhysX particle system? I would prefer the example to be in C++, but any language will do. I understand that such a thing may not exist, or even that it may not be possible to create a simple example,…
Andy C
  • 65
  • 1
  • 6
1
vote
0 answers

PhysX character kinematic library

I am trying to use PhysX character kinematic, but I got to problem right at start. When I create the controller manager like this: nxManager = PxCreateControllerManager( *nxFoundation ); which is at the end of my PhysX initialization function, but…
1
vote
0 answers

PhysX SDK 3.1.2 + VS2010 C++ Winform: Cooking causes access violation exception

So, I am creating application, that will cook PhysX shape from wavefront .obj model file. My code for the cooking function is this: PxTriangleMeshDesc meshDesc; meshDesc.points.count = vertices.size(); meshDesc.triangles.count =…
1
vote
0 answers

PhysX SDK with Custom Game Engine

Is anyone out there familiar with the NVidia PhysX SDK (C++)? I'm currently trying to tie it into my custom C++ game engine, but I'm finding a dramatic lack of material on the internet. It seems that either no one is using PhysX, or no one is…
Robert
  • 413
  • 4
  • 12
1
vote
0 answers

How could I create a rigid body from a triangle mesh in PhysX?

I have recently been working on a project that involves the PhysX library. I need to create a PxRigidDynamic actor from a triangle mesh. I saw the example that the documentation provided, but I have some issues with this method. The issues that I…
1
vote
0 answers

using PhysxJS without webpack -- no collision physics working

I'm trying to get physx[js] to work without Webpack or any local servers etc, based on the example. everything seems to be loading, I'm even using their scripts from their server, all I did was copy the functions from the other web-pack files into a…
1
vote
1 answer

Unity Android App Crash with physx::Gu::PersistentContactManifold::reduceBatchContacts

I am using Unity 2019.3.15f1 to build a Coin Pusher game, main feature is using physics engine to simulate a coin pusher game table. After the game launched, it will run 30 seconds to 2 minutes before crash. I got a crash log like this: 1…
Nicolas Dai
  • 296
  • 1
  • 8
1
vote
1 answer

How do I use triangular meshes on a dynamic object?

Can't I use triangular meshes on a dynamic body? I want a body whose shape is described by a triangular mesh to be able to work as dynamic, not as kinematic or static, so that it flies away from impacts and obeys the force of gravity. What should I…
1
vote
1 answer

Physx - linking problem with come functions (__imp_PxCreateBasePhysics referenced in function...)

I'm trying to implement PhysX into my game engine, but I have got some weird problems with linking the PhysX library. It always fails no matter what I do, but snippets from Nvidia works like a charm. I will try to describe what I did and I hope…
bilek993
  • 85
  • 11
1
vote
1 answer

What does Default Solver Iteration Means?

I'm trying to understand Unity Physics engine (PhysX), Can somebody explain that what exactly Default Solver Iterations and Default Solver Velocity Iterations are? This is from Unity documentation : Default Solver Iterations: Define how many…
AminSojoudi
  • 1,904
  • 2
  • 18
  • 42