Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Support negative mass particles | 37a0a4bfc78adb26ba4b9ba69688738c6c7467dc | MSE | 2024-12-13 17:35:01 |
Prevent Avatar::blendTo from freezing on same animation | d990a5b32602a879e405c5e527ce3047e346bfba | MSE | 2024-09-25 02:37:26 |
Restructure Avatar::simulate | 9519e901631ea04a1a93e24504d8f37c521164d1 | MSE | 2024-09-24 06:51:15 |
Blend avatar jump animations | 8d26db0ecd4ef6a48546684e4bf2200bfea0f41b | MSE | 2024-09-20 08:19:20 |
Work on animation blending system | eb5cfcf1387131b1ec8449e671d30efd787363b2 | MSE | 2024-09-20 06:40:35 |
Update stb_truetype | 4948f1d29f33a33dc126d842d8d20f732f4cdef0 | MSE | 2024-09-18 17:38:06 |
Allow joystick to override mouse | 6aba7a71ebe0dbd67717ae5a37e1729ebfe9895c | MSE | 2024-09-15 23:13:30 |
Add weapon switching via D-pad | db14ce946f4c65ab6625875f00f82ee1b8052374 | MSE | 2024-09-15 20:10:20 |
Allow crouch to be turned off via playerCrouch flag | 024d43d877ca16d21e0feeb50d70f82acd449335 | MSE | 2024-09-15 03:02:29 |
Add configurable third-person camera pitch constraints | 9e2ebdd325515a5bc83cd49229cb099738fb9e0e | MSE | 2024-09-11 21:02:38 |
Add configurable thirdPersonCameraAutoRotateSpeed | c3104421a4df91fbda573dadcce135f8016fa40e | MSE | 2024-09-11 19:27:17 |
Fix inventory display bug | 8626c06403b025c6423ec249771598375791b6ca | MSE | 2024-09-02 23:38:01 |
Highlight agents and default MSAA to 2 | f51dcb39a8abf3d2800d074dfc9606c1c8d486ec | MSE | 2024-08-27 03:46:04 |
Fix bad math | e0ef61f3961a4d98608fb2c724cb631955ae1d82 | MSE | 2024-08-24 22:04:23 |
Smooth camera auto-rotation | 0ddcd28b59e564e123a4984d26d2ec80a9f57ec7 | MSE | 2024-08-24 21:58:32 |
Allow free look in third-person | a8b209cdd85ae914027ffd6c04990b75e9752578 | MSE | 2024-08-24 21:26:39 |
Auto-rotate third-person camera | b9f034155274b8dc20b9f33d1fc39ce701017b0d | MSE | 2024-08-24 04:25:51 |
Use common math to rotate avatars | 75e98c52899f17d8d511e733c1445f5eb69b738a | MSE | 2024-08-24 02:03:53 |
Correct minimap rotation in third-person | 9bcf201c6b24b80b7eec2bb4b2ad296cd5d296ed | MSE | 2024-08-22 07:07:08 |
Rotate third-person agents independently of camera | d4bcdb8ff8b47d6429117002a71881812c45a3dc | MSE | 2024-08-22 06:43:19 |
File | Lines added | Lines deleted |
---|---|---|
include/particle.h | 2 | 2 |
File include/particle.h changed (mode: 100644) (index d3a7c1a..6070bc5) | |||
... | ... | void ParticleServer::simulate( double d ){ | |
205 | 205 | part.age += d; | part.age += d; |
206 | 206 | part.scale += part.svel * d; | part.scale += part.svel * d; |
207 | 207 | part.mass += part.mvel * d; | part.mass += part.mvel * d; |
208 | part.tvel.y -= gravity * d; | ||
208 | part.tvel.y += (part.mass > 0.0 ? -1.0 : 1.0) * gravity * d; | ||
209 | 209 | double dragFactor = | double dragFactor = |
210 | part.dragModel * fluidDensity * part.scale * part.scale / part.mass * d * d; | ||
210 | part.dragModel * fluidDensity * part.scale * part.scale / std::abs(part.mass) * d * d; | ||
211 | 211 | part.tvel.x += part.tvel.x * part.tvel.x * dragFactor; | part.tvel.x += part.tvel.x * part.tvel.x * dragFactor; |
212 | 212 | part.tvel.y += part.tvel.y * part.tvel.y * dragFactor; | part.tvel.y += part.tvel.y * part.tvel.y * dragFactor; |
213 | 213 | part.tvel.z += part.tvel.z * part.tvel.z * dragFactor; | part.tvel.z += part.tvel.z * part.tvel.z * dragFactor; |