Commit graph

370 commits

Author SHA1 Message Date
QuantumCoderQC 8c80b94b4a Moved kinematic and static flags from Bt.hx to RigidBody.hx 2019-12-07 21:41:08 +01:00
QuantumCoderQC 5099580885 Implemented Kinematic and Static flags for better control. Mass of Animated(Kinematic) and Static objects will be set to zero. Implemented btMotionState for kinematic rigid bodies. And btSetWorldTransform for Dynamic and static rigid bodies. Kinematic rigid bodies can now be fully contolled through animation timeline inside blender. 2019-12-01 00:59:16 +01:00
luboslenco 405da0e10e Fix debug console compile 2019-11-13 09:09:06 +01:00
QuantumCoderQC 8beb8ef061 Implemented Physics constraints: Generic, Generic-Spring, Slider, Piston and Hinge. Point constraint now uses Bullet Physics btPoint2Point constraint. Hinge constraint now obeys orientation inputs. Generic constraint can now be fully configured within Blender. Constraint behaviour matches that of Blender physics constraints. 2019-10-29 23:12:40 +01:00
Urjasvi Suthar 965f2ed0e7
Option to use other fonts and set make canvas visibility 2019-10-26 15:48:43 +05:30
N8n5h b06c665676
Revert offset to the y value when adding a path
This is to revert it to the original without the offset because it has inconsistent results with meshes with no height, something that I need to investigate why. 

So for now to keep it consistent it stays without the offset.
2019-10-14 19:13:18 -03:00
luboslenco 9bc1c4a113 Make terrain stream init async 2019-09-17 10:26:24 +02:00
marketgarden c9911ad25f add collision-filter-mask feature 2019-09-10 23:09:44 +02:00
Lubos Lenco 38882187d7
Merge pull request #1357 from greyheron/master
Add getElements():Array<TElement> function to CanvasScript
2019-08-29 19:39:44 +02:00
greyheron 56ef22be9d
Add getElements function to CanvasScript 2019-08-27 07:44:34 +01:00
user d21ff3e9d8 update 2019-08-07 12:02:36 -03:00
N8n5h 6cd693d5ab
Update VirtualGamepad.hx 2019-08-02 13:21:31 -03:00
N8n5h 4357d809a0
Update VirtualGamepad.hx 2019-08-02 13:20:51 -03:00
N8n5h 4af744e9af
Update VirtualGamepad.hx 2019-08-02 13:00:09 -03:00
N8n5h dfb7609a28
expand in the info raycast returns
This change will allow to get the position of a hit with raycast, the normal and the body, some extra info that otherwise you couldn't obtain because raycast only returns a body, this may break some compat but I think is better than having multiple functions that do the same logic only for obtaining each piece of information separated (to keep compatibility).
2019-06-29 22:57:09 -03:00
luboslenco 06875b963a Use std.Math 2019-06-20 11:35:20 +02:00
N8n5h 056afb3fc0
hotfix, no length property on map
Sorry I added that length check last minute to be sure but didn't test, it seems it doesn't have length prop, but without that check should be fine.
2019-06-18 10:47:39 -03:00
N8n5h dbcf230b2c
Add a function to find a rigidBody by their id 2019-06-17 21:45:09 -03:00
luboslenco 9802016556 Cleanup 2019-05-19 15:23:56 +02:00
luboslenco f036a63b9f Fix PhysicsWorld recreation 2019-05-01 09:28:48 +02:00
luboslenco a914014718 Trace debugFloat on change 2019-04-25 22:40:21 +02:00
luboslenco 078a415ba9 Expose debugFloat 2019-04-24 21:55:20 +02:00
unknown 445a4fdc61 Code cleanup 2019-04-06 16:05:01 +02:00
luboslenco 8ad93763b2 Do not copy theme for console 2019-04-04 15:53:11 +02:00
luboslenco 49c58d2c05 Enable live patch for krom only 2019-02-14 11:08:36 +01:00
luboslenco 78dba00f17 Fix debug console begin/end calls 2019-02-13 08:03:05 +01:00
luboslenco 4b461212bc Attempt to fix rigid body scaling 2019-02-12 12:33:43 +01:00
luboslenco e0e4bf303f Send operators to Krom 2019-02-10 11:47:42 +01:00
luboslenco 1d47ec184a Fix fov setting in debug console 2019-01-28 11:37:34 +01:00
luboslenco 59f4876055 Fix vertex pack for softbody 2019-01-24 14:54:28 +01:00
luboslenco 326bf1d90f Improve movie handling 2019-01-23 12:07:44 +01:00
Zicklag 1838b309ee getContacts() Returns Each Contact Only Once
Made sure that getContacts() doesn't return the same object multiple times.
2019-01-21 17:41:29 -06:00
luboslenco 3e645a95b4 Merge terrain stream 2019-01-17 21:34:38 +01:00
luboslenco 979efe9b7d Make trigger private 2019-01-14 11:27:03 +01:00
luboslenco a4891bb001 Compute dim for SoftBody 2019-01-10 12:34:24 +01:00
luboslenco e15b213666 Softbody compile fix 2019-01-10 11:59:49 +01:00
luboslenco bd88a4d67c Compute dim for PhysicsBreak 2019-01-10 11:12:41 +01:00
luboslenco fac68cf6c9 Use prop for character trait 2019-01-08 23:45:34 +01:00
luboslenco 3eaf2dc569 Faster shape construct 2019-01-07 15:41:06 +01:00
luboslenco 2bdaf650f5 Fix PhysicsBreak compile 2019-01-04 08:30:05 +01:00
Lubos Lenco ac73615c70
Merge pull request #1079 from armory3d/dev
Merge Dev
2019-01-03 21:24:35 +01:00
Lubos Lenco a34c72446e
Merge pull request #1057 from katharostech/objects-multiple-contacts
Allow Multiple Contact Points Between Two Physics Objects
2019-01-03 21:06:31 +01:00
unknown 8ae087d445 Fix PhysicsBreak 2018-12-31 16:55:46 +01:00
unknown 41918ae7da Fix debug draw color 2018-12-24 11:38:54 +01:00
Lubos Lenco eca85d6817
Merge pull request #1056 from katharostech/bullet-physics-updates
Update Bullet Bindings for Physics Traits
2018-12-21 08:15:35 +01:00
Zicklag b5e9152800 Allow Multiple Contact Points Between Two Physics Objects 2018-12-20 19:43:34 -06:00
Zicklag 9f563c05c4 Update Bullet Bindings For Physics Traits 2018-12-20 16:45:56 -06:00
luboslenco cda8276477 Exporter fixes 2018-12-20 22:37:39 +01:00
luboslenco a8c86b373f Update bullet bindings 2018-12-20 18:04:49 +01:00
luboslenco a531b52b9f UI style 2018-12-19 13:33:17 +01:00