Jump to content

OneHitWonder

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by OneHitWonder

  1. I don't think it has a shape actually. I will check this later. Thanks.
  2. Hello, I have just implemented click movement for my player using the GoToPoint() method. It works ok but if I increase the speed the character can overshoot the mark resulting in a sort of sling shot until it looses momentum. I had an idea to draw a physical object at the clicked location and on collision the player will stop. It seems however that the player just walks on by and right through the object. What settings do I need to adjust on the object to allow the player to collide? So far I have set the collision type to Scene. self.cursor:SetCollisionType(Collision.Scene) I did wonder if I needed to setup any physics for the object but ideally I didn't want the object to move, but I noticed the documentation for SetPhysicsMode() has an example which doesn't actually use the method. https://www.leadwerks.com/learn?page=API-Reference_Object_Entity_SetPhysicsMode Cheers.
  3. @gamecreator I figured that would be the case. I can see that some of the provided scripts either use globals or use imports. Cheers.
  4. They are both the same. As Steamworks:Initialize() returns a boolean value you don't need to then compare it against another. I would generally go for the first method.
  5. Hello, I am new around here! While I have owned this engine for quite sometime (since 2017) I have never got around to actually using it. Today I have been playing around with the engine, testing various features and reading lots of documents but one thing I haven't quite figured out yet is how to attach multiple scripts to an entity. Is this possible? My script attached to my player currently creates a top down camera but I wanted to add a script for movement and animation. Thanks.
×
×
  • Create New...