Commit graph

59 commits

Author SHA1 Message Date
Areloch ca2d2651b8 Merge pull request #1901 from rextimmy/physics_timing
Physics timing
2017-01-06 18:52:41 -06:00
Areloch aa121c50b7 Merge pull request #1903 from rextimmy/physics_applyforce
PhysicsShape applyForce function
2017-01-06 18:51:42 -06:00
Areloch bedf2488a7 Merge pull request #1899 from rextimmy/physx28_removal
Physx 2.8 removal
2017-01-06 18:50:37 -06:00
Areloch 83d4493f53 Merge pull request #1897 from rextimmy/physx3_3
Physx3.3 updates
2017-01-06 18:50:16 -06:00
rextimmy 1559e7a3d3 PhysicsShape applyForce function 2017-01-05 10:38:05 +10:00
rextimmy 714362fc60 Physics timing 2017-01-04 19:40:22 +10:00
rextimmy 215ae090b4 Physx 2.8 removal 2017-01-04 13:34:33 +10:00
rextimmy 55e9af9786 PhysicsShape applyTorque function 2017-01-04 13:23:36 +10:00
rextimmy e896ce0e4e Cache PxRenderBuffer 2017-01-04 01:47:43 +10:00
rextimmy c08f75f52a Bullet plugin update for bullet 2.85.
Fix potential crash with BtPlayer::_stepForward
2016-12-28 18:33:19 +10:00
Areloch e00bd847fd Fixes Bullet not supporting holes in terrain. 2016-12-20 00:05:30 -06:00
Azaezel fbfd3ed8ed clang: constructor initialization order
while not a major issue per-se, the sheer number of times the engine has to jump back in memory and backfill data in a given class can add up. First run of... many.,
2016-10-14 18:16:55 -05:00
John3 5f463d09d9 replace fix #1736 for add physicShape datablock from the editor 2016-08-21 09:23:06 -05:00
John3 4936567c0d removed to allow create server side "TSShape and PhysicsCollisionRef" 2016-07-15 19:45:17 -05:00
John3 17df1362bd fix create datablock for physicsshapes. 2016-07-13 19:54:02 -05:00
Areloch 34ad0c39d5 Removes the body for the physicsBody's findContact function until it's ready to be finished/used with the entity/component stuff.
This corrects an error for PhysX compilation due to unready code being inadvertently added in with the e/c update.
2016-07-04 16:19:08 -05:00
Areloch 3a73344abb Resolves merging-order conflicts for the vehicle physics PR, as well as correcting cmake not blacklisting the componentGroup files if TORQUE_EXPERIMENTAL_EC was flipped off. 2016-06-05 19:17:34 -05:00
Areloch 37e030f8f4 Makes vehicles work with the physics plugins.
Makes vehicles create a basic physics body when using one of the physics plugins so that they can collide with other physics-enabled objects.

Based on @rextimmy 's work.
2016-06-04 16:47:03 -05:00
Areloch 7ea3c19017 Merge pull request #1558 from OTHGMars/Px3Crouch
Spacial update for Px3 character controller
2016-05-31 23:15:56 -05:00
Areloch 86f9c6f2e7 When using bullet physics, it ensures the player does not move when the world sim is paused, as well as correcting the surface check when walking to test against the max run angle. 2016-05-27 14:32:36 -05:00
Areloch b64123a452 Adds findContact to regular physics bodies so that they can find contacting objects and surfaces in a way similar to players. 2016-05-13 23:57:48 -05:00
OTHGMars 47b68f482e This commits adds the testSpacials() and setSpacials() functions to test for overlaps and update the controllers capsule dimensions when the player pose changes. 2016-03-18 00:35:37 -04:00
Azaezel 74a194a277 missed a convexSweepTest early-out check. 2015-11-14 11:26:42 -06:00
Daniel Buckmaster 4721181d44 Merge pull request #1361 from Azaezel/BulletBreak1
adds minimum displacement check prior to convexSweepTest to avoid NaNs
2015-07-27 12:20:33 +10:00
Azaezel edce2cc566 adds minimum displacement check prior to convexSweepTest to avoid NaNs 2015-07-17 14:28:30 -05:00
Azaezel e9a1d2158b BulletCrashfix2
Removes fatal assertion on duplicated object collisions (meshroads, primarily)
2015-07-17 14:25:01 -05:00
Daniel Buckmaster 84e8cbb4ee Revert recent style cleanup changes. 2015-03-04 11:58:36 +11:00
Daniel Buckmaster 33fcc59543 Merge remote-tracking branch 'origin/style-cleanup' into development
Conflicts:
	Engine/source/T3D/tsStatic.cpp
	Engine/source/console/compiledEval.cpp
	Engine/source/ts/tsMesh.cpp
	Engine/source/ts/tsShape.cpp
2015-03-01 22:30:22 +11:00
LuisAntonRebollo 2eca491961 Fix Bullet compilation. 2015-02-15 12:33:00 +01:00
Daniel Buckmaster e9308e40ed Merge pull request #998 from rextimmy/physx3_cpu_dispatcher_fix
Fixed issue where physx3 cpu dispatcher was created multiple times
2014-12-29 14:14:05 +11:00
Daniel Buckmaster 3ab048c5b0 Fixes after feedback from Luis.
* Made use of dStrIsEmpty in more locations (and fixed it :P)
 * Removed commented-out code
 * Corrected default params
 * Fixed some console warning formats
 * Removed tabs
 * Corrected setExtent API
2014-12-23 18:48:02 +11:00
Daniel Buckmaster 9396ae7176 Merge remote-tracking branch 'Winterleaf/Development-Console' into defineconsolemethod
Conflicts:
	Engine/source/T3D/missionMarker.cpp
2014-12-21 21:23:55 +11:00
Daniel Buckmaster 33ff180593 Merge branch 'development' into style-cleanup
Conflicts:
	Engine/source/console/astNodes.cpp
	Engine/source/console/codeBlock.cpp
	Engine/source/console/compiledEval.cpp
	Engine/source/ts/collada/colladaAppMesh.cpp
	Engine/source/ts/tsShape.cpp
	Engine/source/ts/tsShapeConstruct.cpp
2014-12-15 12:15:55 +11:00
rextimmy 880642060e Fixed issue where physx3 cpu dispatcher was created multiple times 2014-12-01 12:39:46 +10:00
Daniel Buckmaster a0e1fca057 Merge pull request #685 from rextimmy/physx3_basic
Physx3 Physics Plugin
2014-11-29 20:05:08 +11:00
rextimmy 664595ef9e - Fixed memory leak when creating terrain with physx 3
- Fixed terrain tessellation with physx 3
2014-11-08 14:08:59 +10:00
Vincent Gee acb192e2a5 Replaced a ton of ConsoleMethods with the DefineConsoleMethod Macro. 2014-11-03 22:42:51 -05:00
Daniel Buckmaster b507dc9555 Merge branch 'master' into console-func-refactor
Conflicts:
	Engine/source/app/net/net.cpp
	Engine/source/console/astNodes.cpp
	Engine/source/console/compiledEval.cpp
	Engine/source/console/console.h
	Engine/source/console/consoleInternal.h
	Engine/source/console/engineAPI.h
2014-10-14 15:09:11 +11:00
LuisAntonRebollo 4a6384486c Merge pull request #689 from rextimmy/forest_physx2_fix
Physx 2.8 actor release fix
2014-10-02 01:05:11 +02:00
rextimmy 8f550d5f8c Changed method of releasing a physics body with physx 2.8 2014-06-10 21:27:17 +10:00
rextimmy 1ca3190994 Removed old px3Cast 2014-06-07 12:23:12 +10:00
rextimmy 87ba9a7084 code cleanup 2014-06-07 12:11:44 +10:00
rextimmy d58a69e76c Merge remote-tracking branch 'GarageGames/development' into physx3_basic 2014-06-06 22:40:14 +10:00
LuisAntonRebollo 18ba0646c0 Increased stability Torqu3D: unit-tests running without a crash. See the console.log after ran unitTest_runTests( "", true ). @signmotion 2014-05-25 16:50:19 +02:00
bank 69dbaf5b85 Rename all member variables to follow the style guidelines (prefixed with the 'm') - class TSShape 2014-05-13 14:08:42 +04:00
Thomas Fischer 29d7fe310d Merge pull request #583 from tdev/x64_basics
windows 64 bit basics
2014-03-18 00:51:58 +01:00
Thomas Fischer 022b15720b Merge pull request #548 from asmaloney/more_fixes
More fixes
2014-03-15 15:14:11 +01:00
Thomas Fischer 6d8e0d7e25 refactored platform precompiler variable: TORQUE_OS_WIN{32,64,} 2014-03-15 15:10:14 +01:00
rextimmy d4b189e175 PhysX3 basic plugin. 2014-02-28 12:11:26 +10:00
DavidWyand-GG cff2ab046a Bullet physics applyImpulse() fix
Bullet physics requires a local origin be passed into it's
applyImpulse() rather than a world origin.
2014-02-09 18:10:53 -05:00