Commit graph

83 commits

Author SHA1 Message Date
AzaezelX
e8ccb3443a try to load shapes during preload
it's half the point of the protocol
2025-07-06 19:51:55 -05:00
marauder2k7
fd7342668c streamline shape asset
shape asset now has the same import "@" as image asset
cut out extra filename parameters that arent needed
refresh hopefully fixed
2025-06-20 15:58:20 +01:00
marauder2k7
2b973abdcf physics shape and physics debris 2025-06-19 14:32:32 +01:00
JeffR
f31acf774e Adds handling for datablocks to be reloaded if the assets they utilize have their files directly edited. 2025-04-24 00:58:20 -05:00
AzaezelX
f633ef3a3d fill in the validated variables 2025-03-09 11:53:23 -05:00
marauder2k7
888332a85c rest of the implementation
apparently templated classes need all functions to be inline, otherwise unresolved symbols
macro for switching between matrixf and templated
few functions that were missed
2024-07-28 14:35:34 +01:00
marauder2k7
efbe5e90f5 virtuals removed
virtuals removed and replaced with override where necessary, clang-tidy to the rescue.
2024-03-18 18:13:00 +00:00
AzaezelX
fbcfe02098 clean up "Add" menubar categoes on the 3d object side via the following:
SceneObject now defaults to a category of "misc"
getCategoryOfClass now checks parent classes for what categories they hold so that variants can inherit
categories are in one of a few rough groups and subgroups depending on actual mapper needs/usages
2023-11-08 20:42:47 -06:00
AzaezelX
b710a309bd asset load flow work
add reloading state to asset tracking,
convert most asset.isnull() checks on over to skipping out unless the errcode is ::Ok, or ::UsingFallback
add more errstriongcodes to hook up
skip load<type> execution if the asset loaded state is ::Ok
2023-10-08 13:19:43 -05:00
AzaezelX
f5a34308f9 add a docsURL; macro to link a given set of script config vars to git or similar storage urls via clicking on the inspector 2023-01-27 01:13:15 -06:00
AzaezelX
ace18d0246 layout consistency pass pt 2 -place shapebase inheriting initpersistfields up top so the child layout appends to the parent 2023-01-24 19:30:09 -06:00
AzaezelX
f07c8745b2 inspector cleanups
clustering work for datablocks for both consistent scanning for object parameters, as well as an eye towards orgainizing things to make reviewing what variations of components we'll be needing down the line clearer
2023-01-24 17:12:23 -06:00
AzaezelX
98a079a797 code duplication prune. should aid in stability 2021-10-03 02:56:26 -05:00
Areloch
5525f8ecdd Converts all game, gui editor, and system classes to utilize assets
Processed core, tools and default modules to utilize assets
Converted all console types that were string based, such as TypeImageFilename to utilize const char*/the string table, which avoids a lot of type swapping shenanigans and avoids string corruption
Removed unneeded MainEditor mockup module
Removed some unused/duplicate image assets from the tools
2021-07-19 01:07:08 -05:00
AzaezelX
fabd5864fa uninitialized variables-t3d 2020-05-11 15:30:21 -05:00
Areloch
34d05ff16f Updates to various components, added a few new ones. 2019-02-24 01:50:38 -06:00
Areloch
900816fcd0 Merge pull request #2186 from rextimmy/physx_3_4
Physx 3.4
2018-12-09 15:28:43 -06:00
Areloch
6cf0c9e360 Merge branch 'development' into EngineAPI-Refactor 2018-12-09 14:48:50 -06:00
Lukas Joergensen
76908eae3c Eliminate DefineConsoleMethod 2018-04-17 21:01:50 +02:00
Lukas Joergensen
e718841467 Eliminate DefineConsoleFunction 2018-04-17 20:54:08 +02:00
Azaezel
654fc29dc2 bounds to mBounds conflict avoidance 2018-03-13 01:05:15 -05:00
rextimmy
f2dc291cf5 PhysX 3.4 implementation 2018-01-19 22:34:26 +10:00
OTHGMars
8f0e418e54 Fixes collision shape assignment after a PhysicsShapeData resource change signal is triggered. 2017-07-11 19:11:09 -04:00
Thomas "elfprince13" Dickerson
ce51070fc4 whitespace updates 2017-01-06 23:04:49 -05:00
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