About Store Forum Documentation Contact
Donations:
309$/mo



Post Reply 
mesh()->draw(m) not show object
Author Message
andrake Offline
Member

Post: #1
mesh()->draw(m) not show object
Greetings!
yesterday...after 5 seconds hangon EsenthelEngine(i think it was updates)
stop shown clouds and some other objects in my game. i use this code:
//**************************
Game.ObjParamsPtr cloudobj;


cloudobj=UID(408402741, 1152018174, 2406613438, 126250186);
Game.World.objCreate(*cloudobj, Matrix(1000, Vec(17, 10, -17)) );

//in draw cycle
cloudobj->mesh()->draw(Matrix(150));
//******************************
it works before hangon and stop works after it

please check somebody this

i add draw to rendering cycle and it now Works Again smile
but now my clouds fly more faster with the same parameter..it was optimization? in this update?
(This post was last modified: 04-06-2014 04:32 PM by andrake.)
04-06-2014 04:23 PM
Find all posts by this user Quote this message in a reply
Post Reply