-
Posts
4,978 -
Joined
-
Last visited
Content Type
Blogs
Forums
Store
Gallery
Videos
Downloads
Everything posted by YouGroove
-
@Agrorr : Will that be in Leadwerks site for beginners also ? (As the site should also contain such tutorials, not all people will go to steam to search tutorials or script etc ...)
-
Solved [LE 3.1 Steam] Physics and shape problems
YouGroove replied to codeape's topic in Leadwerks Engine Bug Reports
Ok found the problem. Your code is using SetPosition ,and SetPosition is absolute function that don't care about physics and collisions (good and fast for non collidable stuff) function Script:UpdatePhysics() local window = Window:GetCurrent() ... ... ... -- Move player local curr = self.entity:GetPosition(true) curr.x = curr.x + xMod curr.z = curr.z + zMod self.entity:SetPosition(curr, true) Two main points you'll find on docs or examples : 1) Character controller MUST SetInput function. 2) If you don't need character controller use PhysicsSetPosition to have collision working. -------------------- I changed : characterController -> Rigid Body Collision type -> Mass = 0.5 click on "Fit Shape" And using PhysicsSetPosition, the character can't go throught walls. If you need character controller, just take the code for character moving from all examples of "myGame" project. You have just to use FPS script for key input movement and character move using setInput function. (Can be moved to programming) -
The problem how can you calculate AABB oriented box collision against a complex model collision that could be the level ? You would have to go throught all polygons of level and check if one or none intersect the AABB box. Ok i found something perhaps simple and effective : RAYCASTING -Just calculate 8 cube points non oriented bounding box of geometry to create (cube,cylinder, any shape) - Scale a bit the cube more bigger (security safe collision) - call raycasting on each edges of that bounding cube If something collides with one or more edgeof the bounding cube , you can't create your geometry caus there is collision. Sometimes asking brings the response.
-
Could it be possible and how in LE3 : The player could make appear some basic physic shape like box, sphere,cylinder in front of him in the scene, it is possible to detect if it is not enought room to create the physic shape ? Like near a wall you can't create it, on in a small room if it is not enought space ?
-
water , racknet ... lol What is going on here ? It was about GUI and 3.2 (open new threads if needed to talk about other features )
-
Physically Based Rendering (+Material Layering)
YouGroove replied to juniez's topic in Suggestion Box
Im' not convinced ,not noticeable when you play some fast FPS game for example. Specular map with good variation do already a great job, and such system will ask even more GPU i think. If i could only make a super game with great level and great characters using specular/normal maps, i would be happy Why should i ask last engine like UDK or last tech GPU if i even can't manage to create great characters and levels with standard shaders ? But if LE3 proposes such stuff ... indeed i will be interested. -
One thing about topology : Your model seems a simple rectangle tunnel : why does it have so many many triangles ? What a waste of triangles...what program did you use to create that empty cube ?
-
Exporting model and texture appropriately from Cinema 4D?
YouGroove replied to drumwrist0123's topic in Game Artwork
Yes it should work better as one model, and put different materials (texture + shader) on each UV set o the model. -
Leadwerks 3 FAQ - Frequently Asked Questions
YouGroove replied to AggrorJorn's topic in General Discussion
@ScrotieFlapWack : Don't mix all subjects please , this is LE3 FAQ , not suggestion or bug report here or any problem. Could you post your file please, i'll take a look. Caus if you use polymesh file and static geometry it should work. -
Leadwerks Indie Edition- Windows Exception
YouGroove replied to WarHawk's topic in General Discussion
Future LE3 demo or trial will resolve that problem. -
C++ You program in C++ using Visual Studio from Microsoft. You program in Lua using LE3 Lua editor or you could use any text software like Notepad, and other free Lua editors (just search on google) I recommend that you read all the docs to have better understanding of workflow : http://www.leadwerks.com/werkspace/page/documentation/_/user-guide/getting-started http://www.leadwerks.com/werkspace/page/documentation/_/user-guide/script-editor-r6
-
Exporting model and texture appropriately from Cinema 4D?
YouGroove replied to drumwrist0123's topic in Game Artwork
Can you post a pictures or your 3D and bitmap files ? IF you have multiple textures per object you must create multiple materials, than in model editor, dropt the material to the subobject you want. Perhaps Cinema 4D FBX format not so good version as other software also ? OR perhaps some UV seeting in FBX export from Cinema 4D ? -
Nope. When you run or do something else, your character have animated armsame for jumping, climbing. What you have to do at final is just attach weapon to the hands and put camera in front of head. The camera will just do as same as player head.
-
About anti aliasing, the old technique would have sense if the engine would support OpenGL2 and 3 , not only OpenGL4. @Christian : HDR is missing on the list.
-
@Rick Are you making such game or tutorial ?
-
Leadwerks Indie Edition- Windows Exception
YouGroove replied to WarHawk's topic in General Discussion
You mean that ? http://www.leadwerks.com/werkspace/topic/8392-useful-tool-for-figuring-out-what-version-opengl-your-graphics-card-supports/ I proposed to create an Exe about a level made of a cube and camera, if your computer can run it, than you are compatible simply. This should be pinned also. -
Solved [LE 3.1 Steam] Physics and shape problems
YouGroove replied to codeape's topic in Leadwerks Engine Bug Reports
I don't think this is the problem and your level is cubes only and one simple low poly character. -
High quality and vectors means more power GPU to do that , so less fast than simple method ?
-
(Fixed) Issues importing / using assets (Treeleaves)
YouGroove replied to Mordred's topic in Game Artwork
I can't help you for alpha shader. For tree collision like lot of games, just choose "Cylinder collision" as shape in physic tab. You only need player and bullets to collide with the trunck of the tree. If the trunck is complicated and nto vertical, on your 3D modeler export as FBX the trunck only and generate a file physics for your complete tree ( trunck + leaves) -
Make it simple : Just animate a characters and place camera in front of head. No approximative math formula, and How you animate and see is what you get in game.
-
Hummm , how to be sure critic bugs are fixed ? Should all old bugs be fixed ? is there some bugs priority ?
-
You mean that
-
Leadwerks Indie Edition- Windows Exception
YouGroove replied to WarHawk's topic in General Discussion
I don't agree, i know family and aged kids both have PC and laptop but don't know anyhting about building a desktop. They play games like old age of empire and some good 3D ones, but not today ones like Crysis indeed. They are not hard core gamers , and just like some cool games from time to time. Also there is lot of indie games that don't require big harware specially all amazing 2D games. A software demo allows you : - to see if it will run , caus some people buy the software thinking they have the hardware required. - test if the software really suits you or not A small Cube and camera scene demo , intitled : "LE 3 Hardware requirement test" so simple to do , would allow pepople to validate if LE3 will run or not on their PC. -
Ok so like PC, mobile will not support older hardware. This is a choice and if demand for LE3 is graphics higher even on mobile, why not ? Some engines propose a switch : Deffered or simple lightening. Even Unity proposes now a 2D framework , and you can imagine it will run on any low device or low PC. I bet LE3 just want to concentrate on higher graphics only, not backward compatibility, so harcore gamers mainly having not old PC or simple mobiles. There is market indeed for OpenGL4 and above ONLY , but i find OpenGL 2 possibility could have been great for mobile.
-
There is a lot on Youtube : just search them