Search found 373 matches

  • 1
  • 2
  • 3
  • 4
  • 5
  • 38
Search found 373 matches Page 2 of 38
by chriscalef
Fri Mar 16, 2018 3:19 am
Forum: C++
Topic: Any input on PhysX collision callbacks?
Replies: 9
Views: 341
Huh, yeah I found that class and figured out how to use it to get back to my sceneObject in my onContact function. I don't understand what to do with the Signal type, however. Here is my current attempt at an onContact class. I also got confused re: the failure of dynamic_cast to cast my void userDa...
by chriscalef
Thu Mar 15, 2018 2:44 am
Forum: C++
Topic: Any input on PhysX collision callbacks?
Replies: 9
Views: 341
Cool, thanks Timmy! No worries if you can't get to it, for my limited performance needs I think my callback-heavy solution is going to be fine, but it would still be nice to know how to do it the right way.
by chriscalef
Wed Mar 14, 2018 8:30 am
Forum: C++
Topic: Any input on PhysX collision callbacks?
Replies: 9
Views: 341
Well, just to follow up, I got my rockets to explode on contact, but no thanks to all the fancy PhysX FilterShader logic, so far. The only useful output I've been able to get out of my custom filter is to always report all collisions to my callback function, at which point I can make sense of them i...
by chriscalef
Tue Mar 13, 2018 6:38 pm
Forum: C++
Topic: Any input on PhysX collision callbacks?
Replies: 9
Views: 341
AHA!

Hehe, google is my friend. Turns out the missing ingredient was this:

Code: Select all

sceneDesc.simulationEventCallback = this;


(With "this" being my Px3World object.)

Still many details to resolve, but the function is getting called, so we got a foot in the door anyway. :D
by chriscalef
Tue Mar 13, 2018 6:15 pm
Forum: C++
Topic: Any input on PhysX collision callbacks?
Replies: 9
Views: 341
Right, now this is starting to ring some bells... I had collision callbacks working fine in PhysX 2.x, but do remember taking one look at the new system in 3.x and deciding to come back to that later. :-) But "later" is now, so... gave it a pretty good try last night. It seems like I did a...
by chriscalef
Tue Mar 13, 2018 5:00 am
Forum: General
Topic: Forums updated and re-opened
Replies: 3
Views: 334
Thank you for providing and maintaining these forums!
by chriscalef
Mon Mar 12, 2018 7:50 am
Forum: C++
Topic: Any input on PhysX collision callbacks?
Replies: 9
Views: 341
Ah, very interesting ^^^ thank you.
by chriscalef
Mon Mar 12, 2018 6:56 am
Forum: C++
Topic: Any input on PhysX collision callbacks?
Replies: 9
Views: 341
(Looking at you @Timmy) I just implemented some rocket PhysicsShapes for my attack helicopter, and have got them exploding on a destroy() timer, but would really prefer a collision callback. Started digging into it, first hoping I could just do a Torque onCollision, but found that to be a ShapeBase ...
by chriscalef
Mon Mar 12, 2018 6:50 am
Forum: C++
Topic: Getting the joystick working.
Replies: 3
Views: 185
Oh, I see. Well thanks, that's good to know. I believe I can solve my immediate problem by sending joystick trigger data over from FlightGear, but glad to know I should stop beating my head against the T3D implementation for now.
by chriscalef
Sat Mar 10, 2018 1:41 am
Forum: C++
Topic: Getting the joystick working.
Replies: 3
Views: 185
Mine is a USB Logitech Extreme3DPro, it seems to be attached, isJoystickEnabled() returns "1", but bindings to "joystick" or "joystick0" don't work. I found this old link that still seemed to be partially relevant, at least re: the changes to winDirectInput.cpp https://...
  • 1
  • 2
  • 3
  • 4
  • 5
  • 38
Search found 373 matches Page 2 of 38