Quick Links: Gideros Home | Download Gideros | Developer Guide
Anyone used PhysicsEditor? - Gideros Forums
Anyone used PhysicsEditor?
  • Has anyone used PhysicsEditor already? The sample code from the
    generated physicsdata (lua) file does not work:

    -- Usage example:
    require "box2d"
    local world = b2.World.new(0, 9.8)
    local body = world:createBody{type = b2.DYNAMIC_BODY}
    local scaleFactor = 1.0
    local physics = (loadfile "PhysicsData.lua")().physicsData(scaleFactor)
    physics:addFixture(body, object name)

    I try to add some physics to a complex irregular bottom floor.

    Can anyone recommend me a tutorial/help link/code snippet to implement
    this? I could not find much in the Wiki and Academy.

    Regards,

    Marc
  • There should be a guide about this on giderostutorials.com site that created by the author of PhysicsEditor as far as I remember
  • You are right. I love Gideros but I find the documentation
    a little bit fragmented. There are so many links.

    Regards,

    Marc
  • @dikkesnoek this is something we couldn't (maybe cannot) avoid. We try to keep a link in our Wiki for every resource we know of (http://giderosmobile.com/DevCenter). If you happen to find a resource that is not linked there, please let us know. Thanks :-)
    Before starting with Gideros Studio, read our extensive Developer FAQ here
  • @Dikkesnoek Well I agree that there are so many links lying around and it is sometimes really hard to find what you are looking for but you can always ask in forums and someone can help you out. But again I think the API needs a better approach for documentation with proper explanations and code snippets.
  • avoavo +1 -1 (+1 / -0 )
    Here is the sample done by the creator of physics editor. Although I haven't really looked at it I did test it in the player to make sure it works. Hope this helps:

    http://www.codeandweb.com/blog/2012/05/07/physicseditor-gideros

    by the way I am reworking Gideros Tutorials to be hopefully 100x better and all inclusive, but it won't be ready for a little while.

    Loves: gorkem

  • DikkesnoekDikkesnoek +1 -1 (+1 / -0 )
    Hi,

    This code works great and it's much more simple to implement
    as I expected. Thanks again.

    Regards,

    Marc

    Loves: avo

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Login with Facebook Sign In with Google Sign In with OpenID

In this Discussion

Top Posters