Commit Graph

62 Commits

Author SHA1 Message Date
Kah Wei b46d2135bc Modified Renderable and TextRenderable to no longer use reference to Assets, and use the Asset directly instead 2023-01-31 10:53:58 +08:00
Kah Wei f93d5fcd63 Added scripting inteface for SHUIComponent 2023-01-30 20:52:39 +08:00
XiaoQiDigipen 3ff2e6bb92
Revert "Implemented a custom physics engine" 2023-01-30 14:40:55 +08:00
Diren D Bharwani 8475bdccd7 Merge remote-tracking branch 'origin/main' into SHPhysics 2023-01-16 16:22:59 +08:00
Diren D Bharwani 222bda9a13 Replaced Transform's Forward.get with new rotate method 2023-01-07 16:16:35 +08:00
Diren D Bharwani dd2fc934a2 Removed Redundant Geometry 2023-01-04 17:48:08 +08:00
Diren D Bharwani 58a44997b2 Reworked raycasting on engine side. Re-added raycasting to scripting 2023-01-02 22:31:48 +08:00
Diren D Bharwani 0df6e09ed6 Added box collision shapes 2022-12-24 13:32:50 +08:00
Diren D Bharwani 22c0a14081 Renamed SHBox to SHAABB for clarity
The future SHBox will represent an OBB
2022-12-23 00:55:36 +08:00
Diren D Bharwani 53edffebac Added (untested) rotational motion to rigidbodies
Also added a temporary solution for debug drawing rotated spheres
2022-12-15 02:08:25 +08:00
Diren D Bharwani 74e50e10bd Refactored the colliders?
This took me 4 days omg
2022-12-09 01:15:43 +08:00
Diren D Bharwani ca45a12186 Restructured Physics Systems & Interfaces 2022-12-04 17:31:22 +08:00
Diren D Bharwani 52dc993941 goodbye react 2022-12-02 17:44:44 +08:00
Kah Wei 73d0486fc8 Added support for enabling and disabling components 2022-11-25 13:05:35 +08:00
maverickdgg f3e7f1747a Merge branch 'main' into SP3-141-Camera-System 2022-11-25 10:06:11 +08:00
maverickdgg 428f8f29c6 Camera collision. WIP 2022-11-25 10:06:02 +08:00
Diren D Bharwani 438a597a25 Fixed managed Transform returning the wrong forward 2022-11-24 14:43:11 +08:00
maverickdgg 49b475442f Added a targetOffset for camera arm 2022-11-23 18:27:54 +08:00
Diren D Bharwani 0aaf5b7e79 Added LookAt & Forward to C# Transforms 2022-11-23 14:57:48 +08:00
Diren D Bharwani fa83e2bc4c Modified Shape.Raycast functions to return RaycastResult 2022-11-23 01:01:12 +08:00
Kah Wei 7d692061fb Reworked how Materials are handled on C# 2022-11-22 17:23:50 +08:00
Kah Wei 719d29dec3 Renamed Mesh and Font structs in Managed to MeshAsset and FontAsset and reworked them to be a abstraction for asset IDs 2022-11-22 16:51:07 +08:00
Kah Wei af2ad6cc80 Merge branch 'main' into SP3-6-c-scripting 2022-11-21 20:59:08 +08:00
Kah Wei 6550846b0f Added C# interface for Fonts and TextRenderable 2022-11-21 20:58:47 +08:00
Diren D Bharwani 1d692d3301 Physics works without SHEDITOR defines. Mass is temporarily auto computed. 2022-11-21 19:59:32 +08:00
Diren D Bharwani 1b2ff7f4a2 Expanded Collision Shape C# Interface 2022-11-15 23:57:38 +08:00
Diren D Bharwani 10335f3033 Added syncing of physics materials & clear forces methods 2022-11-14 18:38:32 +08:00
Diren D Bharwani 9515fcca4f Renames & Bugfixes
Renamed BoundingBox & BoundingSphere to Box & Sphere
Forces are forcefully cleared
2022-11-14 15:35:02 +08:00
Diren D Bharwani c953931f4f Merge branch 'main' into SP3-2-Physics 2022-11-13 17:57:30 +08:00
Kah Wei fd7a47b4c0 Added changes to hide internal types and constructors that should not be available to SHADE_Scripting 2022-11-13 12:44:23 +08:00
Diren D Bharwani 45e549f9f1 .....small restructure.... 2022-11-12 16:56:58 +08:00
Kah Wei da12db6726 Merge branch 'main' into S3-6-Gizmos 2022-11-09 14:45:31 +08:00
Kah Wei bbe8622d1e De-plushied SHADE_Managed comments 2022-11-09 14:45:08 +08:00
XiaoQiDigipen 7ac910149e
Merge pull request #185 from SHADE-DP/SP3-6-CSharpLights
Add interface for C# light class and modified Color to match Unity's interface
2022-11-08 21:51:04 +08:00
Kah Wei 715699b63b Add interface for C# light class and modified Color to match Unity's interface 2022-11-08 20:18:50 +08:00
Diren D Bharwani 8fbd32a144 Added Relative Sizes to Shapes 2022-11-08 00:46:09 +08:00
Diren D Bharwani 70dcad1313 Changed Collider to CollisionShape for improved clarity 2022-11-07 18:19:39 +08:00
Glence 4f70b543b2 Merge branch 'main' into PlayerController 2022-11-02 17:36:04 +08:00
Glence fc56973645 added getright in camera.cxx/.hxx
PickandThrow is done
adjusted thirdPersonCamera and PlayerController to work with each other
2022-11-02 17:31:57 +08:00
Kah Wei 7bda8b3998 Added IsInterpolating to RigidBody in C# 2022-11-02 13:48:53 +08:00
Diren D Bharwani 72dc07bbd9 Shifted Hierarchy interface from Transform to GameObject 2022-11-01 19:00:31 +08:00
maverickdgg 39910afa54 Added GetForward to Camera C# interface.
GetForward gets the forward according to Camera's last calculated view matrix
2022-11-01 15:49:15 +08:00
maverickdgg f919d95c0b Added C# interface for Camera and Camera Arm. Added some test scripts 2022-11-01 15:30:13 +08:00
Kah Wei b04565c9dc Added implementation for scripts and component functions for scripts 2022-10-31 15:07:10 +08:00
Kah Wei da05cb3edc Fixed script error and added support for static functions in CallbackAction 2022-10-30 02:37:58 +08:00
Kah Wei dbf1b0b8de Merge branch 'main' into SP3-6-c-scripting
# Conflicts:
#	SHADE_Managed/src/Components/Collider.hxx
2022-10-29 02:32:21 +08:00
Kah Wei 19dc999e4f Added full implementation of Renderable script interface 2022-10-29 02:19:36 +08:00
Kah Wei 9617ed3838 Added NativeAsset, Material and Mesh representations along with a stub for Renderable 2022-10-28 19:23:40 +08:00
Kah Wei 7e5c819813 Fixed warning with Collider not being made abstract 2022-10-28 19:03:07 +08:00
Diren D Bharwani 1a4b15feb2 Changed ColliderBound to CollisionShape because ColliderBound sounds weird 2022-10-28 14:29:05 +08:00