Jump to content

Search the Community

Showing results for tags 'Movement'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Categories

  • Models
    • Animals
    • Barriers
    • Characters
    • Containers
    • Environments
    • Furniture
    • Props
    • Rocks
    • Vegetation
    • Vehicles
    • Weapons
  • Materials
    • Brick
    • Cartoon
    • Decals
    • Dirt
    • Grass
    • Industrial
    • Medieval
    • Metal
    • Plastic
    • Plaster
    • Rock
    • SciFi
    • Sky
    • Signs
    • Tile
    • Stone
    • Walls
    • Wood
  • Scripts
    • GUI
    • Object
    • Utilities
  • Shaders
    • Post-Processing Effects
    • Surface
  • Sounds
    • Ambience
    • Effects
    • Music
  • Tools
  • BATTLE LEAGUE's Assets
  • BATTLE LEAGUE's Mods

Blogs

There are no results to display.

There are no results to display.

Forums

  • Leadwerks
    • Technical Assistance
    • General Discussion
    • Programming
    • Game Art
    • Suggestion Box
    • Bug Reports
  • Platforms
    • Windows
    • Mac
    • Linux
  • Community
    • Showcase
    • Promotion
    • Off-topic
  • BATTLE LEAGUE's Topics
  • Vec-Tec's Releases
  • Vec-Tec's Topics
  • Forth's Development
  • Forth's Game design
  • Forth's Graphics
  • Forth's Documentation
  • Forth's TODO
  • Forth's IMPORTANT
  • Forth's Screenshots
  • The uncertain world's Game Design
  • The uncertain world's Programming
  • The uncertain world's TODO
  • The uncertain world's Graphics
  • The uncertain world's Screenshots

Categories

  • Records
  • Entity
  • Command Reference
  • Vec3
  • Vec4
  • Script Reference
  • Shader
  • Index
  • Material
  • Object
  • Buffer
  • Asset
  • Font
  • Shape
  • Sound
  • Texture
  • App
  • Context
  • Model
  • Light
  • DirectionalLight
  • PointLight
  • SpotLight
  • Attractor
  • Camera
  • Emitter
  • Listener
  • Pivot
  • Bone
  • Sprite
  • FileSystem
  • Key
  • Source
  • Surface
  • Math
  • AABB
  • dVec3
  • Mat3
  • Mat4
  • Plane
  • Transform
  • Vec2
  • Vec3
  • Vec4
  • Mutex
  • Prefab
  • PickInfo
  • Map
  • Stream
  • System
  • Thread
  • Time
  • Window
  • World
  • Driver
  • SoundDriver
  • GraphicsDriver
  • PhysicsDriver
  • OpenGL2GraphicsDriver
  • OpenGLES2GraphicsDriver
  • OpenALSoundDriver
  • NewtonDynamicsPhysicsDriver
  • Draw
  • Color
  • Blend
  • Joint
  • Debug
  • Component
  • Steamworks
  • LensFlare
  • Vehicle
  • Decal
  • Quat
  • Leaderboard
  • Probe
  • Analytics

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Location


Interests

Found 4 results

  1. Hi, i have a simple question: I want to move a model (with GoToPoint) if i press the left mouse button, and play an animation while the model moves. I did: if (window:MouseHit(Key.LButton)) then -- Target position (in place ATM) local targetpos = Vec3(0,0,17) -- Move model player:GoToPoint(targetpos.x,targetpos.y,targetpos.z,1.1,1) -- Animate model local t = Time:GetCurrent() player:SetAnimationFrame(t/100.0,1,1) local playerpos = player:GetPosition(true) end My results moves the object, but the animation isn´t played well (only if i press the mouse button again), and any correction did not work.
  2. I cannot move around in the scene by pressing the WASD or Arrow keys on the keyboard. I just installed Leadwerks on my laptop for the first time.
  3. I'm more an artist than a coder and was looking at the FPS Script to get a rough idea but can't figure out how to control a spacecraft. Basically : orbit around the spacecraft on key toggle W - accelerate S - slow down / backward A / D - roll Mouse - yaw / pitch with zero gravity If there is already a tutorial that I missed (YouTube ?) let me know, otherwise any help most welcome
  4. Hello all, I am having trouble positioning and moving an instanced entity. Basically, I am trying to instance a snowball in front of my creature and have him throw that snowball at the target. When I instance the object, I can force the position, but I don't know how to calculate the position relative to the player facing. I also do not know how to calculate and apply the correct the velocity vector to be applied in order for the snowball to be thrown. As part of this, I would also like to be able to adjust this trajectory during the physics update in case I need to track a target. I do not want to use the Nav Mesh related commands of move or follow as I do not want the snowball to be bound to only navigable terrain. I have scoured the forums and reviewed the Project Saturn tutorials for a few days now, but I haven't been able to find a solution. I would GREATLY appreciate any help you can provide. I thought the Transform command might be the right idea, but it didn't react the way I expected. Example Code: local Snowball = nil --entity local Snowball_Model = nil-- entity local Origin = Vec3(0,0,0) self.Snowball_Model = Prefab:Load("Prefabs/Weapons/Snowball.pfb") self.Origin = Thrower:GetPosition(true) self.Snowball = self.Snowball_Model:Instance() self.Snowball:SetPosition(self.Origin.x + 1, self.Origin.y +1, self.Origin.z + 1) --self.Snowball:SetPosition(Transform:Point(1,1,1,self.Origin, nil) --Tried this but it placed --the snowball far away from the model. self.Snowball:Point(self.Target) Thanks in advance, Allaric
×
×
  • Create New...