Kah Wei
9a7c0d0bf6
Added SharedMaterial for Renderable
2023-02-21 17:30:43 +08:00
maverickdgg
6b6bbc6ac5
Camera AR now stored in system instead of camera component.
2023-02-21 11:37:09 +08:00
mushgunAX
fe64844c4e
Mouse Centering
2023-02-21 09:55:14 +08:00
Kah Wei
7d7ffc56fd
Disabled script undo and redo temporarily
2023-02-18 12:35:47 +08:00
Kah Wei
916a7315da
Merge branch 'main' into SP3-6-CSharpStaticReset
2023-02-18 12:24:17 +08:00
Diren D Bharwani
7cf5ef4b81
Solved merge conflicts from main
2023-02-04 14:21:40 +08:00
XiaoQiDigipen
b705db8a8c
Merge pull request #334 from SHADE-DP/SP3-129-AudioSystem
...
Added global parameter control and VCA volume control
2023-02-03 20:21:28 +08:00
Xiao Qi
c9db8262b7
Added preprocessor checks for editor
2023-02-03 19:37:56 +08:00
Kah Wei
5bef209189
Modified ScriptAddAction to use serialization
2023-02-03 19:17:20 +08:00
SHAM-DP
98d4dd9483
Merge branch 'main' into SP3-129-AudioSystem
2023-02-03 19:16:25 +08:00
SHAM-DP
5b2f42a920
Added controls for global parameters
...
Added controls for VCA volume
2023-02-03 19:16:12 +08:00
Diren D Bharwani
c73275f2d3
Added temporary use of collision layers to C# and fixed raycast drawing
2023-02-03 16:11:30 +08:00
Diren D Bharwani
b81e71ed08
Merge remote-tracking branch 'origin/main' into SP3-2-Physics
2023-02-03 02:03:12 +08:00
Diren D Bharwani
6a57be2e60
Refactored old physics to match new interface
...
Compiles but still buggy, need a bit of time to clear up all the bugs
2023-02-02 19:06:56 +08:00
Kah Wei
8f9a4e8c73
Fixed bug where onDestroy() is not called for scripts that are destroyed when leaving play mode in the editor
2023-01-31 18:09:07 +08:00
Kah Wei
53f599a238
Added RemoveScript(Script) for Scripts and GameObjects
2023-01-31 17:28:24 +08:00
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
a5b7672102
Merge branch 'main' into SP3-6-c-scripting
2023-01-30 20:53:42 +08:00
Kah Wei
f93d5fcd63
Added scripting inteface for SHUIComponent
2023-01-30 20:52:39 +08:00
SHAM-DP
526c6dc883
Spatial scripting inteface changes (remove eid requirement)
2023-01-30 16:47:38 +08:00
XiaoQiDigipen
3ff2e6bb92
Revert "Implemented a custom physics engine"
2023-01-30 14:40:55 +08:00
Glence
affa6f0dd8
added implantation for audio scripting
2023-01-16 21:05:21 +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
c3582cf5ee
Added a rotate method with quaternions for Vector3
2023-01-07 16:14:55 +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
37db6a2bf1
Merge remote-tracking branch 'origin/main' into PhySH
2023-01-01 14:11:47 +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
b58b475c04
Separated collision detection and added contact manager
2022-12-20 23:10:23 +08:00
Kah Wei
8212ed2280
Application::Quit() no longer kills the application if in editor
2022-12-20 20:29:28 +08:00
Diren D Bharwani
af39662748
Merge remote-tracking branch 'origin/main' into PhySH
2022-12-16 14:04:58 +08:00
Kah Wei
77a164cefb
Updated C# Gizmos class with DrawCube and DrawSphere in
2022-12-15 23:33:53 +08:00
Kah Wei
8978515cb9
Reworked SHDebugDraw to fit new interface of SHDebugDrawSystem
2022-12-15 23:25:49 +08:00
Kah Wei
78575b11e4
Added debug draw of wire spheres, filled cube and filled sphere
2022-12-15 18:08:12 +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
7820d332b1
Changed managed code's GameObject to synce with the node's active state
2022-12-12 17:58:15 +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
Kah Wei
50232cd15f
Fixed bug where scripts loaded after a scene change would not have serialised data
2022-11-25 00:07:19 +08:00
Kah Wei
9ada998151
Fixed bug where lists failed to be deserialized correctly
2022-11-24 23:27:13 +08:00
Kah Wei
72c8a504c5
Fixed crash from adding an element to a list of strings in the script inspector
2022-11-24 23:22:02 +08:00
Diren D Bharwani
438a597a25
Fixed managed Transform returning the wrong forward
2022-11-24 14:43:11 +08:00
Diren D Bharwani
9e7d7afe33
Added proper Vector3 Rotate functions to Managed code.
2022-11-24 12:02:26 +08:00
Glence
ca60b64a89
Merge branch 'main' into PlayerController
2022-11-23 20:39:47 +08:00
Kah Wei
57df4e2905
Fixed awake() and start() getting called before all objects are loaded when changing scenes
2022-11-23 20:36:28 +08:00
maverickdgg
49b475442f
Added a targetOffset for camera arm
2022-11-23 18:27:54 +08:00
Glence
eaae1bd821
Merge branch 'main' into PlayerController
2022-11-23 15:57:02 +08:00
XiaoQiDigipen
5af5d4ef96
Merge pull request #260 from SHADE-DP/SP3-16-Math
...
Added Forward & LookAt to C# Transforms
2022-11-23 15:07:23 +08:00
Diren D Bharwani
0aaf5b7e79
Added LookAt & Forward to C# Transforms
2022-11-23 14:57:48 +08:00
Glence
33bab64f12
Merge branch 'main' into PlayerController
2022-11-23 14:00:28 +08:00
Glence
64d521a651
Merge branch 'main' into PlayerController
2022-11-23 12:48:29 +08:00
Kah Wei
67db744856
Uninitialized List<> will no longer cause crashes with the script inspector
2022-11-23 10:08:48 +08:00
Diren D Bharwani
fa83e2bc4c
Modified Shape.Raycast functions to return RaycastResult
2022-11-23 01:01:12 +08:00
Glence
332d0a846d
Merge branch 'main' into PlayerController
2022-11-22 22:13:52 +08:00
Kah Wei
fb25d2b714
Fixed compilation error in Editor.h++
2022-11-22 19:44:07 +08:00
Kah Wei
6afcaa9263
Enabled state of scripts are now serialised
2022-11-22 18:09:50 +08:00
Kah Wei
9a7bf335bb
Added serialization and deserialization of MeshAsset, FontAsset and MaterialAsset
2022-11-22 17:58:07 +08:00
Kah Wei
4478b6db62
Added editor support for FontAsset, MeshAsset and MaterialAsset.
2022-11-22 17:48:01 +08:00
Glence
c91897f46a
made changescene a public in sceneManager.hxx
...
added a main menu scene
added some new texture
2022-11-22 17:28:48 +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
a78b3c0123
Reworked NativeAsset system
2022-11-22 15:52:55 +08:00
XiaoQiDigipen
25c9d6eea2
Merge pull request #244 from SHADE-DP/SP3-5-ECS
...
Added SceneManager Managed code to change scene
2022-11-22 14:57:18 +08:00
maverickdgg
3f39cfc637
include pch
2022-11-22 14:14:58 +08:00
maverickdgg
fcf258d773
Added SceneManager managed code
2022-11-22 14:11:10 +08:00
Kah Wei
ece0a92717
Fixed TextRenderable components not being retrievable by C# scripts
2022-11-22 11:29:01 +08:00
Kah Wei
07efa1ab51
Added an abstract base class for NativeAsset to prepare to support serialization of Assets for scripts
2022-11-22 00:39:53 +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
XiaoQiDigipen
81043a5927
Merge pull request #237 from SHADE-DP/SP3-2-Physics
...
Added more debug drawing & Fixed Physics running without SHEDITOR
2022-11-21 20:24:05 +08:00
Diren D Bharwani
1d692d3301
Physics works without SHEDITOR defines. Mass is temporarily auto computed.
2022-11-21 19:59:32 +08:00
Kah Wei
e3c573baa7
Added support for enabling and disabling scripts
...
OnEnable and OnDisable are not called on GameObject active toggling for now but will be added in future
2022-11-21 17:16:16 +08:00
Kah Wei
819607925f
Added GameObject.Null for setting GameObjects to null.
2022-11-21 15:41:15 +08:00
Diren D Bharwani
411c4a4e56
Added C# Interface for Raycasting
...
Untested with Scripts, tested engine side.
2022-11-19 04:21:46 +08:00
XiaoQiDigipen
379c44086d
Merge pull request #218 from SHADE-DP/SP3-6-c-scripting
...
Fixed edge cases for serialization and deserialization of scripts
2022-11-17 17:17:12 +08:00
Kah Wei
042bff5c1a
Added additional exception handling for serialization and deserialization failures for scripts to prevent data loss
2022-11-17 15:49:06 +08:00
Kah Wei
6efbea54e1
Fixed issue where scripts of Entities destroyed during scene unloading are not properly disposed
2022-11-17 15:43:35 +08:00
Kah Wei
17662abef1
Fixed bug where certain null objects in deserialization was not handled
2022-11-17 15:42:40 +08:00
Diren D Bharwani
503f32c3a6
Merge remote-tracking branch 'origin/main' into SP3-2-Physics
2022-11-17 00:21:18 +08:00
Kah Wei
dc9291bc01
Added Audio class for playing audio from C#
2022-11-16 15:00:56 +08:00
Diren D Bharwani
1b2ff7f4a2
Expanded Collision Shape C# Interface
2022-11-15 23:57:38 +08:00
Diren D Bharwani
a752bdb985
someone donno how to normalise sia
2022-11-15 18:45:58 +08:00
Diren D Bharwani
e93eea6381
Cleaned up tools folder. Added debug only logging macros with _D suffix
2022-11-15 03:03:37 +08:00
Diren D Bharwani
d897ac01e6
Merge remote-tracking branch 'origin/main' into SP3-2-Physics
2022-11-14 18:39:06 +08:00
Diren D Bharwani
10335f3033
Added syncing of physics materials & clear forces methods
2022-11-14 18:38:32 +08:00
XiaoQiDigipen
45ec617c3a
Merge pull request #203 from SHADE-DP/SP3-6-c-scripting
...
Script QoL Improvements
Added
GetComponentsInChildren() for GameObject
GetScriptsInChildren() for GameObject
GetComponentsInChildren() for Scripts
GetScriptsInChildren() for Scripts
Fixed
Bug causing crash if a Renderable is added without any mesh or materials
Serialization failure caused by null objects in Scripts
2022-11-14 17:57:54 +08:00
Kah Wei
9e8674859c
Fixed script serialization for objects with no default values set
2022-11-14 17:05:54 +08:00
Kah Wei
9e90a78ee4
Added GetComponentsInChildren and GetScriptsInChildren for Scripts and GameObjects
2022-11-14 16:29:53 +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
4dc8527395
Reworked scripts to no longer need definition of constructors
2022-11-13 16:29:25 +08:00
Kah Wei
af361062e7
Modified how scripts are added and updated to support runtime adding of scripts
2022-11-13 16:07:14 +08:00
Diren D Bharwani
86ca047c88
Merge remote-tracking branch 'origin/main' into SP3-2-Physics
2022-11-13 14:49:44 +08:00
Kah Wei
23320863e3
Added support for undo-redo of adding/removing scripts
2022-11-13 14:49:32 +08:00