Commit graph

1206 commits

Author SHA1 Message Date
Moritz Brückner 068a539f60 Forward renderpath: add support for chromatic aberration 2020-11-28 23:09:07 +01:00
Lubos Lenco 607c5e57cf
Merge pull request #2024 from MoritzBrueckner/mouse-movement
Improve `Get Mouse Movement` node
2020-11-28 12:30:52 +01:00
Moritz Brückner 0acadd2e74 Improve Get Mouse Movement node 2020-11-26 10:00:35 +01:00
Lubos Lenco 73cae5406e
Merge pull request #2023 from E1e5en/ln-math-expression
LN Math Expression
2020-11-26 08:49:04 +01:00
knowledgenude ce629455ad
Update VectorFromBooleanNode.hx 2020-11-19 13:57:39 -03:00
knowledgenude cc481ea15c fix-nodes 2020-11-19 10:38:46 -03:00
E1e5en 9ab9d5c5db LN Math Expression
First version:
- Dynamically checking the correctness of an expression in the IDE (Blender).
- The task is divided into 2 parts: checking the correctness through python in the Blender interface and when performing calculations when the application is running in haxe.
The following decisions are taken as a basis:

python - http://repl.it/3xv/1
haxe - https://github.com/maitag/formula (added all the necessary classes to the node code)
2020-11-19 11:41:24 +03:00
knowledgenude 97bbf0b9d2
fix-missing-return-dynamic 2020-11-18 14:07:23 -03:00
knowledgenude 17b4cb2028 update 2020-11-18 13:50:24 -03:00
knowledgenude ba7a897142 update-triggers 2020-11-17 17:55:53 -03:00
knowledgenude e46a86d4f5
Update GetCursorStateNode.hx 2020-11-17 17:47:17 -03:00
knowledgenude 46492cc425 fixes 2020-11-17 17:35:22 -03:00
knowledgenude a7863075e2 cleanups-and-renames 2020-11-17 12:01:15 -03:00
knowledgenude 7f82b2ae33 map-range-node 2020-11-14 14:39:32 -03:00
E1e5en 91a2a3e00f LN Vector Math Fix
Fixed error:
On static platforms, null can't be used as basic type Float
2020-11-12 06:56:35 +03:00
Lubos Lenco 25be45bc9e
Merge pull request #1998 from E1e5en/add-quat-math
Quat Math
2020-11-11 15:33:19 +01:00
knowledgenude fde59db1e5 value-changed-node 2020-11-08 17:37:50 -03:00
E1e5en 6b804477b1 Quat Math
1. Move the Quaternion node from Transform to Variable
2. Move the Separate Quaternion node from Transform to Math
3. Added Quaternion Math Node
Linked to PR - https://github.com/armory3d/iron/pull/108
2020-11-08 22:40:01 +03:00
Lubos Lenco 4adb01dc5f
Merge pull request #1994 from E1e5en/ln-vector-math-upgrading
Upgrading the Vector Math Node
2020-11-08 14:12:26 +01:00
E1e5en 7dae9e38d0 Upgrading the Vector Math Node
Dynamically change the number of input and output parameters for the selected operation
2020-11-07 11:14:46 +03:00
knowledgenude 5052d5119b update 2020-11-06 17:31:26 -03:00
knowledgenude 72186140a9 new-nodes 2020-11-06 17:20:28 -03:00
Lubos Lenco d9480bc5b2
Merge pull request #1987 from E1e5en/ln-math-upgrading
Upgrading the Math Node
2020-11-05 10:57:22 +01:00
E1e5en 1352811bcd Upgrading the Math Node
- Dynamically change the number of arguments for the selected operation;
- Exp() operation added.
2020-11-03 09:12:41 +03:00
knowledgenude 4d87a0d3ad fix 2020-11-02 12:55:11 -03:00
knowledgenude 7fcd3dc81d update-local-axis-nodes 2020-11-02 11:51:34 -03:00
knowledgenude fe3e627e5d
Update TransformExtension.hx 2020-11-01 19:23:55 -03:00
knowledgenude f7ec11d5c5 add-worldVecToOrientation-method 2020-11-01 18:17:56 -03:00
Lubos Lenco 4236190f5d
Merge pull request #1976 from E1e5en/detect-mobile-browser
LN Detect Mobile Browser
2020-10-31 17:01:36 +01:00
Henrique fa0e5ae0a4 fix 2020-10-30 15:32:12 -03:00
Henrique 58a0d996aa renames 2020-10-30 15:28:38 -03:00
E1e5en 145686dbf4 LN Detect Mobile Browser
Detect Mobile Browser
2020-10-30 21:22:52 +03:00
Henrique 97d284c946 replace-none-node 2020-10-30 13:22:09 -03:00
Moritz Brückner 6f1f97f9e9 Debug console: add "Set Active Camera" button for camera objects 2020-10-29 20:00:59 +01:00
Moritz Brückner 1d3c9cf23b Whitespace cleanup 2020-10-29 20:00:35 +01:00
Henrique bb1fab992d add-bounce-elastic-to-mix-nodes 2020-10-28 11:16:14 -03:00
E1e5en fb00b4533c
Update GetFPSNode.hx
Checkstyle
2020-10-27 18:23:10 +03:00
E1e5en 658d2546d8 Add LN Get Frames Per Second
This is sometimes more convenient than enable the entire debug console.
2020-10-27 15:56:34 +03:00
Henrique 413951cb62 cleanups 2020-10-26 11:20:50 -03:00
Henrique e7db53cca6 fix-node 2020-10-26 11:00:38 -03:00
Lubos Lenco b81486ac7a
Merge pull request #1954 from E1e5en/get-traits-name
LN for Traits
2020-10-26 09:19:54 +01:00
Henrique ded3a7353d rename-node 2020-10-24 17:20:22 -03:00
E1e5en ef4dbd7611 LN for Traits
1. Modification of CanvasScript and WasmScript classes: added a field to save the name of the script / file in the class.
2. Added logical nodes for working with Traits.
- Get Object Traits - gets an array of Traits for the specified object;
- Get Trait Name - get the Trait name (the name that appears in the list in Armory Traits) and its type (Canvas, Wasm, Bundle, LogicNode or Haxe).
2020-10-24 22:04:47 +03:00
Henrique b942672990 new-vector-to-object-space-node 2020-10-24 14:39:20 -03:00
Henrique 538e66e680 new-vector-from-boolean-node 2020-10-22 15:42:22 -03:00
Moritz Brückner f9e9dfdd41 Fix BlendActionNode for empty action sockets 2020-10-21 19:30:21 +02:00
Moritz Brückner 74d6b594a6 Two new logic nodes for the "Random" category 2020-10-19 18:21:56 +02:00
E1e5en 1a34e202a7 Add Android Settings + LN Set Vibrate
1. For the new settings to fully function, you need to update the submodules so that this Pull Request (https://github.com/Kode/kincmake/pull/100) gets into armsdk. Extended settings via khafile.js.

2. Added Android Settings panel:
- invisible until the target platform android-hl is added to the list;
- inactive until the target platform android-hl is selected in the list.
Options:
- Orientation;
- Compile Version SDK - from 26 to 30, default 29;
- Minimal Version SDK - from 14 to 30, default 14;
- Target Version SDK - from 26 to 30, default 29;
- Permissions - a list of permissions. If I will duplicate entries in the list, then only unique entries will be included during export. By default, the list is empty;
- Android ABI Filters - a list of platforms to build for (arm64-v8a, armeabi-v7a, x86, x86_64). If I will duplicate entries in the list, then only unique entries will be included during export. By default, the list is empty. If the list is empty, then all platforms will be used (as before).

3. The enum (names of permissions) and the function have been added to the utils.py modules, which adds the specified value to the list of permissions. Feature added for ease of use from different locations (different logical nodes).

4. List of permissions:
- ACCESS_COARSE_LOCATION - Allows an app to access approximate location;
- ACCESS_NETWORK_STATE - Allows applications to access information about networks;
- ACCESS_FINE_LOCATION - Allows an app to access precise location;
- ACCESS_WIFI_STATE - Allows applications to access information about Wi-Fi network;
- BLUETOOTH - Allows applications to connect to paired bluetooth devices;
- BLUETOOTH_ADMIN - Allows applications to discover and pair bluetooth devices;
- CAMERA - Required to be able to access the camera device;
- EXPAND_STATUS_BAR - Allows an application to expand or collapse the status bar;
- FOREGROUND_SERVICE - Allows a regular application to use Service.startForeground;
- GET_ACCOUNTS - Allows access to the list of accounts in the Accounts Service;
- INTERNET - Allows applications to open network sockets';
- READ_EXTERNAL_STORAGE - Allows an application to read from external storage;
- VIBRATE - Allows access to the vibrator;
- WRITE_EXTERNAL_STORAGE - Allows an application to write to external storage.

5. Added logical node Set Vibrate:
Category: Native
Pulses the vibration hardware on the device for time in milliseconds, if such hardware exists.
Input parameters:
- Milliseconds - time in milliseconds (data type Int, default value 100).
When adding the logical node Set Vibrate, the permission is automatically added to the list, even if the target android-hl has not been added to the export list (using a function from utils.py).
2020-10-17 16:47:54 +03:00
Henrique f2afb4fcdb rename-tilesheet-sockets 2020-10-14 10:56:41 -03:00
knowledgenude 3760d9b36d
Update GetTilesheetStateNode.hx 2020-10-14 10:08:43 -03:00
knowledgenude 56f101e403
Update AnimationStateNode.hx 2020-10-14 10:05:31 -03:00
Henrique be137c3805 get-tilesheet-state-ln 2020-10-14 10:03:47 -03:00
Lubos Lenco aaa699c3cd
Merge pull request #1930 from E1e5en/screen-to-world-space-modif
Modifying the Screen To World Space node
2020-10-14 08:58:37 +02:00
E1e5en 6116c665c4 Modifying the Screen To World Space node
Modifying the Screen To World Space node

Input parameters:
- Screen X - value of screen coordinates along the X axis (data type Int);
- Screen Y - the value of the screen coordinates along the Y axis (data type Int).

Options:
- Separator Out - whether or not to separate the output parameters (vectors) into components (XYZ).

Output parameters:
- World - coordinates of a point in 3D space (Vector data type)
- Direction - normalized direction vector from the camera towards the point/cursor indication (data type Vector).
- X, Y, Z - components of the corresponding vectors (data type Float).
2020-10-13 20:50:30 +03:00
E1e5en c67246cd1a Get System Language - LN
Get System Language
Category: Native
To get the current system language according to the IS0 639 standard.
The Krom platform always returns “en”.
2020-10-13 17:29:50 +03:00
Lubos Lenco 70ae143c9b
Merge pull request #1922 from E1e5en/debug-console-settings
Add Debug Console settings
2020-10-11 16:54:17 +02:00
E1e5en 305878db42 Add Debug Console settings
1. Adding the ability to customize display, scale (size), shortcuts to the DebugConsole class.
2. Adding a function to utils.py to get Debug Console settings from Render: Armory.
3. Added Debug Console settings to the Armory Project interface:
- Enable (default value - False);
- Position (Left, Center, Right, default value - Right);
- Scale Console (from 0.3 to 10);
- Visible.
4. Added transfer of Debug Console settings to exporter.py.
5. Added logical nodes to control DebugConsole while the application is running.
2020-10-10 13:10:34 +03:00
Henrique 93cc768cb8 rename-variables 2020-10-09 17:46:46 -03:00
Henrique 677ae903a2 merge-pause-and-resume-nodes 2020-10-09 17:43:17 -03:00
knowledgenude 7dee6d97b4
Update GetGravityNode.hx 2020-10-05 15:09:15 -03:00
Henrique 1436f9a5a4 improve-ln-descriptions 2020-10-05 14:55:56 -03:00
Lubos Lenco 49b35cbd25
Merge pull request #1910 from MoritzBrueckner/call-function-node
Fix CallFunctionNode
2020-10-05 09:44:55 +02:00
Moritz Brückner f27c885361 Fix CallFunctionNode 2020-10-04 21:33:32 +02:00
Lubos Lenco cc9add8790
Merge pull request #1905 from knowledgenude/master
Logic nodes cleanups
2020-10-03 10:55:46 +02:00
Lubos Lenco 7e6968b7a0
Merge pull request #1906 from E1e5en/on-swipe
Update logic node On Swipe
2020-10-03 10:54:36 +02:00
Lykdraft 3ce253c51a
Bullet: Collision margin was inverted. issue #1707
This should work now as expected.
2020-10-02 15:23:23 +02:00
Henrique 77e93724ba getlenstexture-update 2020-10-01 19:24:21 -03:00
Henrique 737c623a12 ssr-ssao-update 2020-10-01 19:22:46 -03:00
Henrique dd655aa8e1 more-adjustments 2020-10-01 19:18:58 -03:00
Henrique c8b828a6e9 adjustments 2020-10-01 19:16:22 -03:00
E1e5en 937c7eb86b Update logic node On Swipe
Change the data type for the Direction output parameter from Vec3 to Vec4.
2020-10-01 22:11:52 +03:00
knowledgenude b44170720b
Update ColorgradingGetGlobalNode.hx 2020-10-01 16:11:31 -03:00
Henrique a47dafe9ed ln-cleanups 2020-10-01 16:05:47 -03:00
Lubos Lenco 3bc39d82cc
Merge pull request #1897 from MoritzBrueckner/node-docs
Update node docstrings
2020-09-28 20:51:39 +02:00
Lubos Lenco 30088df19c
Merge pull request #1892 from MoritzBrueckner/get-object-node
Get Object node: allow getting objects from other scenes
2020-09-28 20:49:26 +02:00
Moritz Brückner 431630d42e Update node docstrings 2020-09-28 15:58:41 +02:00
Lubos Lenco 95cc79339a
Merge pull request #1893 from MoritzBrueckner/on-application-state
Add "On Application State" node
2020-09-27 20:36:54 +02:00
E1e5en 1fec2d1e20 Get System Name
Get System Name - to get the name of the system while the application is running.

Output parameters:
- System Name — displays the system name as a string;
- List systems for quick comparison.
2020-09-27 20:22:41 +03:00
Moritz Brückner b132d4b171 Add "On Application State" node 2020-09-27 16:57:21 +02:00
Moritz Brückner bb5b7c5863 Fix invalid cast in SpawnObjectNode.hx 2020-09-26 16:33:43 +02:00
Moritz Brückner 2c2ecee2a9 GetObjectNode: allow getting objects from other scenes 2020-09-26 16:33:30 +02:00
knowledgenude fdf24de3fb logic-nodes-labels 2020-09-24 19:49:21 -03:00
knowledgenude 558e22e20e logic-nodes-improvements 2020-09-20 15:10:01 -03:00
E1e5en 9ac4325a00 On Tap Screen - node for handling touches (double, triple…)
Input parameters:

Duration - time during which the number of touches is counted (default value is 0.3 seconds);
Interval - the time that must elapse between touches (default value is 0);
Repeat - the number of touches that need to be done to execute the event (default value is 2).
Output parameters:

Done - event for a successful completed action;
Fail - an event for a failed action;
Tap - event on each touch;
Tap Number - how many times the user has already touched the screen;
Coords - coordinates of the touch.
2020-09-18 08:37:44 +03:00
QuantumCoderQC 648e505617 Custom Particle Trait to enable instancing and instance count 2020-09-16 23:33:22 +02:00
E1e5en 813f77dc0a Logic Node - On Swipe
The node for the swipe event.

Input parameters:
- Time - duration of the swipe (default value 0.15 s);
- Min Length (px) - the minimum length that the swipe must “pass” (default value 100 px).

Output parameters:
- Direction - normalized vector of the swipe direction;
- Length (px) - the length of the swipe (to assess the “strength”);
The Length output parameter is calculated by the vector value (without normalization) to relate to the input value.
- Angle (0-360) - swipe angle in the range from 0 to 360 degrees (0 is on the right, i.e. Vector (1, 0) = 0 degrees).
- States are states with direction output (Up, Down …). By default, they are not displayed, but if you press “Add 4 State”, then 4 states will appear (Up, Down, Left, Right) and if again, then 8 states will already be displayed.
Determining direction for a state:
for 4 directions - "circle" is divided into 4 segments of 90 degrees;
for 8 directions - "circle" is divided into 8 segments of 45 degrees.
2020-09-15 09:08:59 +03:00
knowledgenude d44bf0f4bb
Improved nodes +2 new nodes .hx 2020-09-13 14:08:55 -03:00
Lubos Lenco cde5279a47
Merge pull request #1859 from MoritzBrueckner/canvas-nodes-fix
Fix canvas nodes for invalid element names
2020-09-13 10:28:14 +02:00
Lubos Lenco c03583410e
Merge pull request #1851 from MoritzBrueckner/logic-nodes
Logic nodes overhaul
2020-09-13 10:25:36 +02:00
Moritz Brückner b948641146 Fix indentation 2020-09-11 15:16:40 +02:00
Moritz Brückner 261edbdac9 Fix canvas nodes for invalid element names 2020-09-11 15:13:59 +02:00
Lubos Lenco fc9f36334d
Merge pull request #1854 from MoritzBrueckner/deprecated-nodes
Deprecation warnings for old input nodes
2020-09-10 08:41:52 +02:00
Moritz Brückner af60d2000d Deprecation warnings for old input nodes 2020-09-09 22:05:23 +02:00
Moritz Brückner 2d33398f9f Merge remote-tracking branch 'upstream/master' into logic-nodes
# Conflicts:
#	blender/arm/logicnode/action_set_visible.py
#	blender/arm/logicnode/physics_get_gravity.py
2020-09-09 21:11:49 +02:00
knowledgenude 020f79793e
GetMouseLockNode.hx , GetMouseVisibleNode.hx 2020-09-08 20:11:56 -03:00
knowledgenude 289a6ce21b
CanvasGetVisibleNode.hx 2020-09-08 19:34:13 -03:00
Moritz Brückner 45ce65513b Make the mask node a variable node 2020-09-08 22:11:25 +02:00
Lubos Lenco 2a4bfcb146
Merge pull request #1849 from QuantumCoderQC/patch3
Re-Configure getChild node to search for immediate children only
2020-09-08 20:22:37 +02:00
Lubos Lenco dc16740360
Merge pull request #1847 from QuantumCoderQC/master
Add getGravity method. Fix getGravity logic node.
2020-09-08 20:20:43 +02:00
QuantumCoderQC adf19390e6 Re-Configure getChild node to search for immidiate children only 2020-09-08 15:18:20 +02:00
QuantumCoderQC cc35b01684 Add getGravity method. Fix getGravity logic node. 2020-09-07 22:11:03 +02:00
knowledgenude 2438995069
Update SetActivationStateNode.hx 2020-09-07 11:01:27 -03:00
knowledgenude 6c723eb9c7
Update SetFrictionNode.hx 2020-09-07 11:00:23 -03:00
knowledgenude 2aedf8256e
Update RemovePhysicsNode.hx 2020-09-07 10:59:31 -03:00
knowledgenude b8ccf404e5
Remove rigid body verification 2020-09-07 10:57:39 -03:00
knowledgenude 974ad7cb36
Improve Set Activation node 2020-09-06 15:11:22 -03:00
knowledgenude 1c7b6c4c94
Delete SyncTransformNode.hx 2020-09-06 15:09:55 -03:00
knowledgenude 2ecb8fef39
Update SetActivationStateNode.hx 2020-09-06 12:46:10 -03:00
knowledgenude 32ee67e1db
Update SetActivationStateNode.hx 2020-09-06 11:08:18 -03:00
knowledgenude 42ab00b6ef
RemovePhysicsNode.hx 2020-09-06 10:50:27 -03:00
knowledgenude 1ab9681712
Delete RemoveFromWorldNode.hx 2020-09-06 10:44:12 -03:00
knowledgenude b1e09b6dc4
Set Friction Node and fix Ray Cast mask
Ray Cast node was not considering masks: https://github.com/armory3d/armory/issues/1780
2020-09-05 18:05:03 -03:00
knowledgenude b9fc172691
Fix crashes when object don't have rigid body 2020-09-05 12:27:29 -03:00
knowledgenude dc1ae7aece
+3 physics nodes 2020-09-05 10:30:55 -03:00
Lubos Lenco 5c1b55d221
Merge pull request #1839 from niacdoial/master
fixed a backwards compatibility problem with a node from before armory 2020.09
2020-09-05 10:39:41 +02:00
knowledgenude b178655487
Fix rigid bodies continuing to move when parented
This fixes one more bug from here: https://github.com/armory3d/armory/issues/1830

I don't know if this is a correct fix, but solved a problem for me.

One last bug that stills is the rigid body in "random" places when parented. To fix this, when the rigid body (no matter if active or passive) is parented, it must have Animated checkbox checked. I don't know how to do this. This will solve all problems related to it, except the "Keep Transform" unchecked one.
2020-09-04 20:50:46 -03:00
Lubos Lenco 86ebf8ef05
Merge pull request #1834 from MoritzBrueckner/spawn-collection
Add SpawnCollection node
2020-09-04 10:08:38 +02:00
Moritz Brückner 1dbbc05557 Add SpawnCollection node 2020-09-03 18:53:19 +02:00
niacdoial 8d6f44a34c fixed a backwards compatibility problem with armory < 2020.09 (pre-17daabeb29dfb0a5cc8b4bef840b02b9f83f409d to be exact)
(in that that commit, I tried to make so the new code could use pre-existing nodes without problem, but it seems I partially failed)
2020-09-03 18:18:57 +02:00
QuantumCoderQC 87ab504a61 Apply tansform for RigidBody if Keep Transform 2020-09-03 15:14:01 +02:00
niacdoial 17daabeb29 Improved quaternion and angle handling in logic nodes (+2bugfixes)
- Made so all nodes outputting a quaternion object also output it as a XYZ (vector) + W (float) combination
- Modernized the interface of the "Action/Rotate Object" node, to align on the newer "Action/Set Rotation" node interface  ("Action/Rotate Object Along Axis" is now depreciated, but still usable)
- Fixed a blender-side-only bug with the "Logic/Switch" node (...which technically could have lead to a compile-time problem if exploited the right way)
- Fixed a bug on the "Action/Set Rotation" node: now, quaternion input is automatically normalized in order to avoid accidental scaling
- Added a "Value/Separate Quaternion" node
- Made so the names of some sockets change in the "Set Rotation" and "Rotate Object" nodes, so they adapt to those nodes' input types.
  (Same thing with "Value/Vector From Transform"'s output type)
2020-08-30 15:50:06 +02:00
luboslenco 401ad3a69d Expose render target depth via uniform link 2020-08-28 17:34:22 +02:00
luboslenco a576872c72 Expose render targets via uniform link 2020-08-28 17:07:43 +02:00
QuantumCoderQC c54a5d2bed Upgrade Apply Force at location and Apply Impulse at location to include object rotation 2020-08-28 03:14:49 +02:00
Valentín Barros 476ec0aa49 Use bullet.Bt.CollisionObjectActivationState [see #1731] 2020-08-08 10:50:24 +02:00
Valentín Barros c5efe96f6f Fixes PhysicsConstraint.init Generic6DofConstraint usage for Hashlink. 2020-07-22 10:27:16 +02:00
Moritz Brückner 8e60ff4851 Fix OnContactNode 2020-07-12 00:17:29 +02:00
Moritz Brückner 156030075a Fix SetSceneNode when using json export 2020-07-07 21:06:24 +02:00
Lubos Lenco 78aec97c95
Merge pull request #1744 from MoritzBrueckner/world-export
Multi-world support
2020-07-07 11:07:25 +02:00
tong 1f0a27bae0 Initialize 0 2020-07-06 23:44:04 +02:00
Moritz Brückner 27b3aa5f49 Fix renderpaths for scenes without a world 2020-07-06 22:53:31 +02:00
Moritz Brückner d06f07f2cf Update renderpath skydome drawing to Iron changes 2020-07-06 18:14:58 +02:00
Moritz Brückner ae07dab862 Renderpaths: load new world shaders 2020-07-05 23:30:55 +02:00
tong 313bbbfa84 Initialize var to null 2020-07-05 13:25:10 +02:00
Valentín Barros 34a6a428d2 Fixed armory.trait.PhysicsDrag.update for Hashlink [fixes #1730]
Just enabling the same code used for JavaScript.
2020-07-01 09:26:05 +02:00
Valentín Barros f89ac4ba7d Fixed armory.trait.physics.bullet.PhysicsWorld.rayCast for Hashlink.
Just enabling the same code used for C++.
2020-06-29 12:44:21 +02:00
tong 11a3358879 Replace if conditions with switch 2020-06-27 15:59:53 +02:00
tong 0401033362 Fix ammo lib loading 2020-06-17 19:13:43 +02:00
Lubos Lenco bc2ecab27c
Merge pull request #1724 from tong/js-syntax
Replace __js__ with Syntax.code
2020-06-06 12:20:42 +02:00
tong 807497daf3 Replace __js__ with Syntax.code 2020-06-05 10:53:57 +02:00
Moritz Brückner 2e398c96ba Implement "reflect" operation for VectorMathNode 2020-06-04 22:19:02 +02:00
tong 6c94354da6 Proper debug console log output formatting 2020-05-24 18:28:53 +02:00
Moritz Brückner 03490e44e3 Play Sound node: run "done" on stop 2020-05-16 00:42:12 +02:00
Moritz Brückner 5382399b70 Add retrigger option to Play Sound node 2020-05-16 00:28:52 +02:00
Moritz Brückner 18ebd3444f PlaySoundRawNode: add pause/stop functionality 2020-05-16 00:21:10 +02:00
Moritz Brückner 55ce26c02f PlaySoundRawNode: add loop option 2020-05-15 23:32:48 +02:00
Moritz Brückner 4fa9d8b980 Add optional sample rate setting to PlaySoundRawNode 2020-05-15 23:22:41 +02:00
Moritz Brückner 1d82747fbc onCanvasElementNodes can now listen to hover events 2020-05-14 17:34:39 +02:00
Moritz Brückner c820b4ddc2 onCanvasElementNode: massive performance improvement + better variable names 2020-05-14 17:29:02 +02:00
Moritz Brückner 8cc5d07ad6 Fix onCanvasElement node when Zui is disabled 2020-05-14 17:23:36 +02:00
QuantumCoderQC c056e996f1 Fixed issue where element is not visible 2020-05-13 02:31:41 +02:00
Lubos Lenco 9325edbe34
Merge pull request #1548 from ForestCSharp/master
lights wouldn't render at all if use_shadow / cast_shadow was unchecked
2020-05-11 09:31:00 +02:00
Lubos Lenco e30a8c7f46 Metal fixes 2020-05-11 09:03:13 +02:00
Lubos Lenco 66e9572554 Add clear pass for metal 2020-05-04 23:08:47 +02:00
Valentín Barros 9cb88c111a Added CanvasScript.setUiScale method.
It sets the scale factor for the UI elements.
2020-04-27 12:00:59 +02:00
Moritz Brückner 9ebf4577ca Fix SetRotation Node when vector input is null 2020-04-19 17:25:08 +02:00
Lubos Lenco 2002414f7a
Merge pull request #1668 from MoritzBrueckner/fix-canvas-visible-node
CanvasSetVisibleNode: Fix exception when the element doesn't exist
2020-04-18 16:58:24 +02:00
Moritz Brückner 4e8b99637a Fix exception when the element cannot be found
Related to https://github.com/armory3d/armory/issues/1659
2020-04-18 01:20:25 +02:00
Moritz Brückner 275784fd76 WalkNavigation: set flying speed via mouse wheel 2020-04-18 01:02:45 +02:00
QuantumCoderQC 91988372fd OnCanvasElement node now takes into account anchoring points 2020-04-15 20:15:36 +02:00
QuantumCoderQC d815a5fc98 OnCanvasElement node now takes into account anchoring point 2020-04-14 20:07:44 +02:00
Lubos Lenco e4102c9c50
Merge pull request #1654 from MoritzBrueckner/misc
A bunch of really small improvements
2020-04-13 16:08:30 +02:00
Moritz Brückner 3b1437aca5 Fix debug console look (again) 2020-04-12 20:04:16 +02:00
Moritz Brückner 247e0b4c3b Refactor ArrayAddNode + combine it with ArrayAddUnique 2020-04-12 17:33:27 +02:00
Moritz Brückner a4dba65a7a "Fix" vector node 2020-04-12 17:32:52 +02:00
Lubos Lenco f446c0a009
Merge pull request #1650 from MoritzBrueckner/array-loop
Fix ArrayLoopNode socket (dynamic value) + add "Index" output
2020-04-12 11:33:19 +02:00
Lubos Lenco 6abaacd907
Merge pull request #1651 from QuantumCoderQC/master
Added set checkbox and OnCanvasElement Node
2020-04-12 11:30:36 +02:00
Lubos Lenco 26aa9956a2
Merge pull request #1652 from RLP9GHR60I/iss1256
Add "Has contact (Array)" node
2020-04-12 11:29:17 +02:00
Daniel B. Bruno 4a3d3a58d6 Add "Has contact (Array)" node
This node was requested on issue #1256.
2020-04-11 17:57:21 -03:00
QuantumCoderQC dda2396313 Added set checkbox and OnCanvasElement Node 2020-04-11 18:33:53 +02:00
Moritz Brückner a9d2a10d0b Fix ArrayLoopNode socket (dynamic value) + add "Index" output 2020-04-11 17:49:17 +02:00
Moritz Brückner 403e52109c Add "fake user" setting for traits 2020-04-10 20:43:59 +02:00
Lubos Lenco 3edccefddf
Merge pull request #1639 from Sandy10000/master
Mark return value for CanvasGetPosition nodes
2020-04-09 15:31:13 +02:00
Moritz Brückner 08b690adf8 DebugConsole: Fix outliner look 2020-04-09 00:21:35 +02:00
Moritz Brückner f242e0316e Fix debug console for scenes with no world 2020-04-09 00:20:54 +02:00
Sandy f035b3aaba
Mark return value for CanvasGetPosition nodes 2020-04-08 23:41:01 +09:00
luboslenco 4c3332858e Mark return value for CanvasGetCheckbox and CanvasGetSlider nodes 2020-04-07 10:31:32 +02:00
QuantumCoderQC f3b58c0f31 Fixed Bullet Rigid Body C target issue 2020-04-03 17:05:13 +02:00
Sandy 37e04689d5
Delete Distance Node
Remove this because the same can be achieved with "Vector Math"
2020-03-16 22:22:47 +09:00
Simonrazer 5cde1487ca
Update CanvasScript.hx 2020-03-16 09:05:42 +01:00
QuantumCoderQC 1770aeb002 Added nodes to start animation from a partivular frame index 2020-03-14 23:30:09 +01:00
Sandy 3f77ff397d
Add new
Input of "Get Distance" is Object, but input of "Distance" is Vector.
2020-03-14 21:03:07 +09:00
Sandy d1a0fc69c8
Addressing issues reported in the Armory forum
https://forums.armory3d.org/t/something-wrong-with-translate-on-local-axis/2772
https://forums.armory3d.org/t/how-to-avoid-camera-going-through-rigid-bodies/3945
2020-03-14 20:58:56 +09:00
QuantumCoderQC 2d282c9582 Fixed Bullet RigidBody memory leak 2020-03-08 21:34:35 +01:00
Forest Collins Sharp 8958668215
Merge pull request #2 from armory3d/master
merging latest from armory3d/armory
2020-03-07 08:44:02 -06:00
Lubos Lenco 963b6ed980
Merge pull request #1598 from Naxela/master
Merge PPM
2020-03-05 19:36:10 +01:00
Alexander Kleemann 3dce053aa3
Update Postprocess.hx
Accidentally deleted the return value when removing comments
2020-03-04 20:11:37 +01:00
Alexander 60f72e7e0e Merge in PPM
Redone and ready to be merged with Armory
2020-03-04 17:45:19 +01:00
luboslenco cfbe3a7dce Some more position access fixes 2020-03-03 22:50:20 +01:00
luboslenco 23d649fe32 Fix RigidBody compile 2020-03-03 22:41:39 +01:00
Valentín Barros a9521846a2 Fix armory.logicnode.SetRotationNode vector type for input [fixes #1572]
Fixes for example the `virtual_gamepad` demo crashing on startup
in Android.
2020-03-02 11:11:15 +01:00
Moritz Brückner 110a068605 Fix TransformExtension.hx 2020-02-29 21:26:24 +01:00
Moritz Brückner 16ad030f41 Rename variable (more intuitive)
Thanks to nubleet on Discord for mentioning this
2020-02-22 23:57:16 +01:00
Moritz Brückner c60f41186d Expose NavAgent turn speed to the UI 2020-02-22 23:08:33 +01:00
Lubos Lenco becda78736
Merge pull request #1578 from MoritzBrueckner/fixes
Some smaller fixes
2020-02-19 21:40:53 +01:00
Moritz Brückner f5f9d8c13b CanvasScript: add getCanvas() function and improve docstrings 2020-02-19 14:28:27 +01:00
Moritz Brückner d2b26925c2 Fix AddGroupNode 2020-02-19 14:24:44 +01:00
Moritz Brückner 486b462153 Fix math package and improve docstrings 2020-02-19 14:24:31 +01:00
Sandy b504e00f96
Handling issues posted on the Armory forum 2020-02-09 23:43:48 +09:00
Forest Sharp 57cd481731 lights wouldn't render at all if use_shadow / cast_shadow was disabled 2020-01-19 18:49:30 -06:00
N8n5h afdc54bc35 Fixed DebugDraw line drawing method
Now lines should always face the camera.
2020-01-05 11:48:29 -03:00
Lubos Lenco 7f3a119d26
Merge pull request #1534 from MoritzBrueckner/debug-traits
DebugConsole: add trait detail view
2020-01-03 15:41:14 +01:00
BlackGoku36 aaed3592d2 Add setCanvasFontSize 2020-01-03 17:40:13 +05:30
Moritz Brückner d36c8a4176 DebugConsole: implement trait detail view 2020-01-02 18:48:02 +01:00
luboslenco 3c058568f7 Add TransformExtension 2020-01-02 13:47:06 +01:00
luboslenco bde87cea9e Include math pack 2020-01-02 12:51:29 +01:00
Moritz Brückner edc6bee204 DebugConsole: Fix handles for multiple lights or cameras 2019-12-27 16:44:11 +01:00
Moritz Brückner f33729ed69 Indent trait list in debug console 2019-12-27 16:43:39 +01:00
Moritz Brückner 0d6b72b7bb Improve transform view in debug console 2019-12-27 16:43:08 +01:00
Moritz Brückner 9b90398e8d DebugConsole: Refactor outliner 2019-12-27 16:40:59 +01:00
luboslenco db4f0cc107 Apply checkstyle 2019-12-19 23:54:08 +01:00
luboslenco fe3fa62a97 Fix Kinematic Character Controller compile 2019-12-19 16:52:53 +01:00
luboslenco 8a4e39599b Fix macro return 2019-12-19 16:52:17 +01:00
luboslenco 655b9252de Fix MergedSurface logic node 2019-12-19 16:44:20 +01:00
luboslenco b39a5af8bd Merge branch 'master' of https://github.com/armory3d/armory 2019-12-19 16:24:58 +01:00
luboslenco ea75669161 Fix package 2019-12-19 16:24:44 +01:00
Sandy 64a18db096
https://github.com/armory3d/armory/issues/1500 2019-12-18 22:20:07 +09:00
Lubos Lenco d6f32d1bc5
Merge pull request #1513 from MoritzBrueckner/themes
Load themes from canvas
2019-12-14 13:33:13 +01:00
Lubos Lenco 24ec5cf79b
Merge pull request #1507 from QuantumCoderQC/master
Moved kinematic and static flags from Bt.hx to RigidBody.hx
2019-12-08 10:04:49 +01:00
luboslenco 6237c9e699 Include transformMath 2019-12-08 09:59:58 +01:00
QuantumCoderQC 8c80b94b4a Moved kinematic and static flags from Bt.hx to RigidBody.hx 2019-12-07 21:41:08 +01:00
Sandy 3531551288
Calculate transform data directly 2019-12-07 22:07:31 +09:00
Moritz Brückner 071291992d Load canvas theme at game start 2019-12-06 21:42:11 +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 51ab281a21 Fix starter for kha_node 2019-11-20 16:50:54 +01:00
luboslenco 7c0f25ee8c Merge branch 'master' of https://github.com/armory3d/armory 2019-11-16 14:11:53 +01:00
luboslenco f310776985 Use webassembly for ammo+krom 2019-11-16 14:11:32 +01:00
Lubos Lenco a6b7a50bca
Merge pull request #1474 from zaethan/master
corrected indices in getRotation node
2019-11-14 10:18:22 +01:00
luboslenco 405da0e10e Fix debug console compile 2019-11-13 09:09:06 +01:00
luboslenco 574f6ab96d Use material input for SetMaterialParam nodes 2019-11-12 13:50:29 +01:00
Yannik Böttcher b809cec5e6 corrected indices 2019-11-12 11:15:09 +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
Sandy 92f6321f03
Correct socket position 2019-10-18 21:38:04 +09:00
Sandy 5a9f14ea20
Correct socket position 2019-10-18 21:37:04 +09:00
Sandy 5d521e8101
fix https://github.com/armory3d/armory/issues/1438 2019-10-17 22:04:14 +09:00
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
Lubos Lenco c70478c11e
Merge pull request #1406 from zeeshan595/master
Added support for angle axies rotation nodes
2019-10-08 21:46:12 +02:00
BlackGoku36 42b0ce4b1f add renderpath nodes 2019-10-02 15:09:47 +05:30
Lubos Lenco 9b0673d158
Merge pull request #1420 from BlackGoku36/logicnodes
Add string operation nodes
2019-09-30 13:48:28 +02:00
BlackGoku36 63560f6163 remove substr 2019-09-30 17:13:35 +05:30
BlackGoku36 a5db10437f add string operation nodes 2019-09-30 00:22:00 +05:30
BlackGoku36 a3e45a3a5e Revert "add some string operating nodes"
This reverts commit 5942b177e4.
2019-09-30 00:18:13 +05:30
BlackGoku36 5942b177e4 add some string operating nodes 2019-09-30 00:11:26 +05:30
Sandy d4870bae52
Adding canvas category logic nodes 2019-09-29 22:39:19 +09:00
Zeeshan Abid d7675d4714 uncommented physics code 2019-09-27 20:52:20 +01:00
Zeeshan Abid 919d222b4d get rotation bug fix 2019-09-27 20:51:30 +01:00
Zeeshan Abid 97643a1eee Improved Get & Set Rotation 2019-09-27 20:35:26 +01:00
Zeeshan Abid c7946edc25 catches infinity 2019-09-26 01:59:08 +01:00
Zeeshan Abid 61fe0e45a7 Radians & Degrees Conversion 2019-09-26 01:55:27 +01:00