Commit graph

356 commits

Author SHA1 Message Date
Areloch efecbca8fc Merge pull request #1637 from pacomont/Initializing_Move_trigger
Fix for Issue #1415Move::Move() is not properly initializing bool tri…
2016-06-08 09:24:22 -05:00
Areloch 0ec9438429 The default configuration is for the asset database to automatically unload an asset when it's no longer referenced. This causes problems when we would delete objects and then go to make more instances that reference the same asset while the same mission is going.
So autounload is disabled to prevent excessive unloading of assets before the level is concluded.
2016-06-06 21:20:00 -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 89672ea0ab Hooks the component fields back into the inspector so they are registered as proper fields of their types, as opposed to the regular string-only dynamic fields. 2016-06-02 22:40:29 -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 2464b620ba Fixes several minor initialization issues that were causing problems with deletion/management of components and entities.
Also makes the ThirdPersonPlayer game object editor selectable again by removing an erroneously set field.
2016-05-31 12:51:23 -05:00
Areloch 553cf260f1 Some converts of usage of Shapebase for Gamebase to make camera/control object swapping easier. 2016-05-30 03:13:19 -05:00
Areloch 18184747e3 Fixes an issue where script-based components listed in the scene tree would not have a name on their tree item. 2016-05-29 11:54:50 -05:00
Areloch 510b726f6f Final Linux compliance changes(renames, tweaks for gcc compliance, etc) 2016-05-29 00:58:02 -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 f5e86a83b5 Other renames to ensure linux case-sensitivity compliance and casing format consistency. 2016-05-26 13:56:19 -05:00
Areloch 93e767f0c5 Additional casing fixes. 2016-05-26 01:39:06 -05:00
Areloch ec8882c3c8 Ensuring all names are the correct casing for Linux 2016-05-26 01:37:14 -05:00
Areloch cfd15d47e4 Correction to interpolation/warp issue caused by using the wrong variable. 2016-05-24 20:09:24 -05:00
Areloch 7bf49f0670 Adds a GameObject asset type, to make tracking and management of GameObjects significantly easier. 2016-05-15 10:12:24 -05:00
Areloch b04ad52b5d Ensure that inclusion of any entity/component stuff is properly bracketed with the preprocessor check. 2016-05-15 10:11:46 -05:00
Areloch 6ccf97e35d Adds ComponentAsset so the editor scripts can be aware of what components have been defined/are useable. 2016-05-14 14:17:33 -05:00
Areloch b4bc405dce Updates the include guard in ShapeAsset 2016-05-14 14:16:43 -05:00
Areloch 38c18870d3 Adjustments to allow Entities/Components to act as cameras and control objects. 2016-05-14 14:03:19 -05:00
Areloch b3b50abd9b Integrates components into the update and render loop. 2016-05-14 12:40:13 -05:00
Areloch fa78a2f354 Adds Component, the various main component classes and their interfaces. 2016-05-14 00:00:02 -05:00
Areloch 2e339bafba Adds the Entity object. 2016-05-13 23:58:57 -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
Areloch 1299b527f1 Adds the ability to the ShapeAsset to get the resource of the shape. 2016-05-13 23:14:55 -05:00
Areloch a2e0b1a163 Merge pull request #1604 from Azaezel/lightAnimCleanup
alternate to https://github.com/GarageGames/Torque3D/pull/1602
2016-05-10 11:47:25 -05:00
Areloch 8d195f9236 Makes the tab/spaces consistent for the entire console method function rather than mix-n-matching the formatting. 2016-05-10 10:58:03 -05:00
Areloch 27bb7a712a Corrects tabs. 2016-05-09 13:47:29 -05:00
Areloch 3a99541541 Select camera when in material editor crashfix.
When attempting to select a camera Object(so going into the editor, going into the freefloating camera and then back to the player camera and selecting the freefloating one) while the material editor was open, it would crash because it attempts to access the shapebase object's shapeInstance - but cameras don't have a shape.

This fixes it so it makes sure there's a shapeinstance before trying to get the material data.
2016-05-09 13:43:06 -05:00
Azaezel ad613f2e82 alternate to https://github.com/GarageGames/Torque3D/pull/1602 2016-05-08 21:52:00 -05:00
rextimmy 41e5caf22b Direct3D11 Engine/source changes 2016-03-20 21:52:11 +10: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 262cc4bac1 Merge branch 'development' of https://github.com/GarageGames/Torque3D into AIExtracts
Conflicts:
	Engine/source/T3D/aiPlayer.cpp
2016-03-02 10:59:10 -06:00
Anis 1286a517d5 Merge pull request #1497 from Azaezel/soundEnumExtendability
footstep and impact enum extension support
2016-02-27 01:10:23 +01:00
Anis 3984a4ec09 Merge pull request #1530 from GarageGames/AiPlayerPoses
Steve Acaster's Ai Poses
2016-02-26 16:10:28 +01:00
Anis A. Hireche f701228a37 Steve Acaster's Ai Poses 2016-02-26 15:53:20 +01:00
Anis 42f7ee3930 Merge pull request #1528 from irei1as/patch-1
New script function to edit script-created decals
2016-02-26 14:57:18 +01:00
Anis A. Hireche 10cb6ab9c4 Merge remote-tracking branch 'refs/remotes/origin/development' into pr/1153 2016-02-26 14:39:38 +01:00
Anis 63e56ec666 Merge pull request #1432 from Azaezel/extract-reactive_rigids
Backend correction for the rigid vs rigid collision resolver:
2016-02-25 16:06:39 +01:00
irei1as 988bd47d52 Visibility change as sugested by dottools 2016-02-24 09:02:07 +01:00
irei1as c3b1aaae5a New script function to edit created decals
TorqueScript function to edit decals created with decalManagerAddDecal.
2016-02-23 17:17:54 +01:00
Anis cebfc81d7f Merge pull request #1496 from camporter/linux_compat_fixes
Fix case sensitivity and Platform::fileDelete
2016-02-19 16:50:27 +01:00
Areloch 98b3d3294d Merge of PR #855 2016-02-16 00:23:02 -06:00
RoundedIcon 7924f056bd Fix for collision issues with scaled players
Players scaled after their creation have collision issues with terrain.
Changing this bit of code fixes those issues for downsized players, even
when shrunk to 10% of their original size.
2016-02-01 16:58:39 -07:00
Azaezel c60be9a17e suggested revisions 2016-01-13 15:08:21 -06:00
Azaezel 62506214d0 footstep and impact enum extension support
Removes hardcoded case statements in favor of an offset-driven approach.
2016-01-11 22:23:13 -06:00
Cameron Porter 4c17d4bb49 Fix case sensitivity and Platform::fileDelete
for linux and OSX. Correct a couple of warnings and errors preventing builds on linux.
2016-01-09 00:37:45 -06:00
Areloch d30529bbeb Merge pull request #1459 from Azaezel/dangedDecalDatablocks
corrects ghosted decal datablock lookup flaw
2015-12-20 02:17:56 -06:00
Azaezel ee83c8b66c Extacted AI tweaks:
attackradius - seperate value/callbacks to allow AI to be coded to move and shoot.

slowdown triggered by 2x movetolerance rather than a fixed 5 untis.

void AIPlayer::updateMove(const Move* move)  - 'lag' correction.

getTargetDistance - c side distance calculation with enabled option.
2015-12-04 11:24:20 -06:00
Areloch 113bb6b62d Merge pull request #1463 from Azaezel/bulletBreak3
missed a convexSweepTest early-out check.
2015-11-14 16:12:57 -06:00