Сообщения, созданные пользователем trepaning
31 марта 2015 04:36
31 марта 2015 04:34
30 марта 2015 21:38
29 марта 2015 00:34
26 марта 2015 19:35
25 марта 2015 23:42
25 марта 2015 20:11
mesh displays and animates, but not transformable or glowing as per my quick tests.
function load_empty_cb(data_id) {
var Empty= m_scenes.get_object_by_name("Empty", data_id);
var lampFan= m_scenes.get_object_by_dupli_name(Empty, lampFan); //also tried ("Empty", "lampFan")
m_trans.set_translation(Empty, -2.5, 2, 0.45); //xzy
m_trans.set_scale(Empty, 0.2);
m_scenes.apply_glow_anim(lampFan, 1, 1, 0);
}
24 марта 2015 22:36
Okay, just tested that, it works, just need to place the main object out of sight unless there is another way to make the model that does not scale or transform not show up while still showing the duplicate. Also, how to add GLOW or Selectable to the Empty object? It's not important because with bones and vertex, all is pretty much covered, so no need to figure out hacks or fixes, but with object transform meshes able to be scaled and transformed, there would be no limits to what can be used.
24 марта 2015 19:32
Okay good to know.
Just for complete info, I tested vertex animated mesh and it can be translated and scaled as per the above code, so only object animated objects needs special attention.
transform, scale?
bone animated mesh- yes
vertex animated mesh - yes
static mesh - yes
object animated mesh - no
With that, I am pretty much up to speed!
Until the next bump in the road, of course…
Just for complete info, I tested vertex animated mesh and it can be translated and scaled as per the above code, so only object animated objects needs special attention.
transform, scale?
bone animated mesh- yes
vertex animated mesh - yes
static mesh - yes
object animated mesh - no
With that, I am pretty much up to speed!
Until the next bump in the road, of course…