Java-Gaming.org Hi !
 Featured games (84) games approved by the League of Dukes Games in Showcase (563) Games in Android Showcase (151) games submitted by our members Games in WIP (605) games currently in development
 News: Read the Java Gaming Resources, or peek at the official Java tutorials
 Home Help Search Login Register
 Show Posts Pages: [1]
 1 Game Development / Newbie & Debugging Questions / Re: Simple steering behaviour vector help on: 2007-10-12 16:14:21 Yes! Thank you!!I stumbled on through and managed to knock up all of the vector maths for my classes and got the seek behaviour to work. I was so confused as to why it wasn't working as I thought it should. Read your post and realised I was taking away the wrong one lol. Position - target was the problem.Thanks so much, you just made me a very happy steering behaviour enthusiast  P.s thanks again
 2 Game Development / Newbie & Debugging Questions / Simple steering behaviour vector help on: 2007-10-12 13:57:58 Hi guys, If i was to have a 2d pitch and wanted to move a player(circle) towards a target on the pitch, how would you program this behaviour?desired_velocity = normalize (position - target) * max_speedsteering = desired_velocity - velocityI have vectors for both position and velocity. Basically an object that holds a float for both x and y. How would I then go about writing this? Any help greatly appreciated,Thanks
 Pages: [1]
 wxwsk8er (49 views) 2015-03-20 15:39:46 Fairy Tailz (42 views) 2015-03-15 21:52:20 Olo (26 views) 2015-03-13 17:51:59 Olo (29 views) 2015-03-13 17:50:51 Olo (33 views) 2015-03-13 17:50:16 Olo (40 views) 2015-03-13 17:47:07 ClaasJG (29 views) 2015-03-10 11:36:42 ClaasJG (36 views) 2015-03-10 11:33:01 Pippogeek (45 views) 2015-03-05 14:36:23 Pippogeek (37 views) 2015-03-05 13:56:12
 LiquidNitrogen 23x KevinWorkman 23x basil_ 21x BurntPizza 21x Riven 18x theagentd 18x EgonOlsen 17x Roquen 14x princec 12x Slyth2727 9x NegativeZero 9x SHC 9x Varkas 9x Ecumene 8x ClaasJG 7x teletubo 7x
 How to: JGO Wikiby Mac702015-02-17 20:56:162D Dynamic Lighting2015-01-01 20:25:42How do I start Java Game Development?by gouessej2014-12-27 19:41:21Resources for WIP gamesby kpars2014-12-18 10:26:14Understanding relations between setOrigin, setScale and setPosition in libGdx2014-10-09 22:35:00Definite guide to supporting multiple device resolutions on Android (2014)2014-10-02 22:36:02List of Learning Resources2014-08-16 10:40:00List of Learning Resources2014-08-05 19:33:27
 java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org