Commit graph

12 commits

Author SHA1 Message Date
niacdoial 9b1393ea41
Make rotation its own socket in logic nodes, add rotation-specific math node
(part 1: conversion code not developed)
2021-07-11 11:28:00 +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
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 db4f0cc107 Apply checkstyle 2019-12-19 23:54:08 +01:00
unknown 48ecb814f5 Update node interface 2018-10-22 10:10:33 +02:00
luboslenco e05ca352dd Null safe logic nodes 2018-06-14 14:52:05 +02:00
Lubos Lenco d32cb81db7 Haxe clean up 2017-11-20 15:16:52 +01:00
Lubos Lenco 24aa6c4787 Separate physics module 2017-09-30 00:32:06 +02:00
Lubos Lenco 86c3df653e Fix self for logic nodes 2017-09-20 14:27:45 +02:00
Lubos Lenco ed4234f6b4 Expose node target 2017-07-01 13:12:22 +02:00
Lubos Lenco 5e736a615f Logic fixes, primitive events 2017-04-16 14:46:35 +02:00
Lubos Lenco 795726b28b Logic fixes 2017-04-14 20:38:50 +02:00