Commit Graph

1824 Commits

Author SHA1 Message Date
Kah Wei 73d0486fc8 Added support for enabling and disabling components 2022-11-25 13:05:35 +08:00
Xiao Qi 300647afa6 Stopped camera from running when editor is in pause 2022-11-25 12:24:13 +08:00
Diren D Bharwani 7f9f2bd194 Merge remote-tracking branch 'origin/main' into SP3-2-Physics 2022-11-25 12:16:13 +08:00
Xiao Qi d72a532623 Added object checks in leaf scripts 2022-11-25 12:09:03 +08:00
mushgunAX c5d490b8b2 Added null checks for AI blackboard data
- Null checks added to prevent AI causing the engine to crash
2022-11-25 11:44:58 +08:00
XiaoQiDigipen 46ae50949e
Merge pull request #278 from SHADE-DP/SP3-141-Camera-System
Added Camera Collision WIP
2022-11-25 11:08:11 +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
mushgunAX 4daaa8e897 Added SFX to AI
- Footsteps, alert yell and unalert humming
2022-11-25 00:56:40 +08:00
Glence c07fa3c5ae remove the clamp from the phsysicSystem routines
added cheats for maingame
added raycast for pick throw
2022-11-25 00:54:45 +08:00
XiaoQiDigipen 5274aa5184
Merge pull request #277 from SHADE-DP/SP3-6-c-scripting
Fixed bugs related to C# script serialization and deserialization
2022-11-25 00:08:58 +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
Kah Wei 7c58c9a23d Fixed crash caused when building scripts in debug mode when a debugger is attached 2022-11-24 23:20:37 +08:00
Glence f71675ad0e Merge branch 'main' into PlayerController 2022-11-24 22:41:00 +08:00
mushgunAX d6fab4439f Made player jumping more responsive
- Changed the input check in the jump function from a GetKeyDown() / GetKeyUp() to a GetKey() / !GetKey()
- This makes jumping a lot more responsive
- This also means holding the jump button causes the raccoon to "bunny hop" until jump button is released
2022-11-24 21:56:06 +08:00
XiaoQiDigipen 49b66e5c26
Merge pull request #275 from SHADE-DP/ScriptingAI
Fixed AI for the Gameplay Scene
2022-11-24 21:44:38 +08:00
mushgunAX c0f3720fd2 AI expected to work with the scene. To Verify. 2022-11-24 21:26:05 +08:00
XiaoQiDigipen a182f9a8fb
Merge pull request #274 from SHADE-DP/SP3-2-Physics
Fixed collision listener bug & incorrect transform forward. Added collision tags to raycasts.
2022-11-24 15:15:33 +08:00
Diren D Bharwani 6525a39df2 Added collision tags for raycasting. Does not apply to collider raycasting 2022-11-24 15:11:07 +08:00
Diren D Bharwani 3775df23a4 Debug draw is disabled on publish builds. 2022-11-24 14:43:41 +08:00
Diren D Bharwani 438a597a25 Fixed managed Transform returning the wrong forward 2022-11-24 14:43:11 +08:00
Diren D Bharwani a9bacc9e48 Fixed incorrect storing of world extents 2022-11-24 14:42:34 +08:00
Diren D Bharwani f6c74ad3d2 Fixed recurring bug with collision listener 2022-11-24 14:41:52 +08:00
Glence 9473359076 added the base for raycast in pickandthrow 2022-11-24 14:05:02 +08:00
XiaoQiDigipen 982760fb20
Merge pull request #273 from SHADE-DP/SP3-2-Physics
Added extensive Vector3 Rotation methods in Managed code & Debug draw is always available (temporarily).
2022-11-24 12:25:48 +08:00
Diren D Bharwani 74a85180ac Merge remote-tracking branch 'origin/main' into SP3-2-Physics 2022-11-24 12:02:34 +08:00
Diren D Bharwani 9e7d7afe33 Added proper Vector3 Rotate functions to Managed code. 2022-11-24 12:02:26 +08:00
Diren D Bharwani 7d7d40ba8e Debug draw is always enabled. 2022-11-24 12:02:08 +08:00
XiaoQiDigipen d09fefe9b4
Merge pull request #271 from SHADE-DP/SP3-2-Physics
Fixed Physics Bugs
2022-11-24 02:10:54 +08:00
XiaoQiDigipen 191ea0fdb1
Merge pull request #270 from SHADE-DP/UI-Bug-Fix
Fixed main menu rendering after scene change
2022-11-24 02:02:24 +08:00
Xiao Qi b7b3301158 Added isDirty copy in move ctor for SHBatch 2022-11-24 02:01:41 +08:00
Diren D Bharwani 90ac168309 Merge remote-tracking branch 'origin/main' into SP3-2-Physics 2022-11-24 01:46:46 +08:00
Diren D Bharwani 33ac1a868a Fixed wrongly returning fixed DT in managed code & collision listener bug 2022-11-24 01:46:29 +08:00
XiaoQiDigipen 83a4577081
Merge pull request #269 from SHADE-DP/PlayerController
Change playercontroller to fixed dt and change starting scene
2022-11-24 01:41:01 +08:00
Glence d23683f34a Merge branch 'main' into PlayerController 2022-11-24 01:08:22 +08:00
Glence 5ee8403e80 make starting scene mainmenu
change playercontroller to fixed dt
2022-11-24 01:08:08 +08:00
XiaoQiDigipen 26e4499d85
Merge pull request #268 from SHADE-DP/PlayerController
adding ai fixes in
2022-11-24 01:05:35 +08:00
Glence d8b2addd1f added the fix for AI 2022-11-23 22:44:15 +08:00
Diren D Bharwani 97837c2829 Merge remote-tracking branch 'origin/main' into SP3-2-Physics 2022-11-23 22:21:09 +08:00
Glence 48f51f1913 Merge branch 'main' into PlayerController 2022-11-23 21:02:46 +08:00
Glence ff318cee2e added ai scripts and in the scene 2022-11-23 21:02:33 +08:00
XiaoQiDigipen 8227b0993a
Merge pull request #267 from SHADE-DP/PlayerController
Bug fixes and scene changes
2022-11-23 20:53:44 +08:00
Glence caefae3aac added the change scene into winscene 2022-11-23 20:51:22 +08:00
Glence 8469ebd960 setting the value into scripts 2022-11-23 20:48:40 +08:00
Glence ca60b64a89 Merge branch 'main' into PlayerController 2022-11-23 20:39:47 +08:00
XiaoQiDigipen acc13fd0e4
Merge pull request #266 from SHADE-DP/Fix-AwakeLater
Fixed awake() and start() getting called before all objects are loaded when changing scenes
2022-11-23 20:37:46 +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
Glence af93e59d0e added text to maingame 2022-11-23 20:26:53 +08:00