Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark Physics & Dark A.I. & Dark Dynamix / make object come to a point?

Author
Message
FINN MAN
20
Years of Service
User Offline
Joined: 2nd May 2004
Location:
Posted: 4th Jun 2007 04:56
how can i use dark physics to make objects all be attracted to one point? I mean like make it so that when my character is walking some objects follow him and jump on him? any code or explanation would be apresheated.

bosskeith
18
Years of Service
User Offline
Joined: 5th Dec 2005
Location:
Posted: 4th Jun 2007 23:52
please elaborate are you looking for something with an accelerated attraction like a magnetic feild or something with a set velocity like a bee chasing you?

if it is the bee concept you would plot waypoints to the character and have the bee follow till it comes into a line of sight then you can just aim it at the character and have it give chase.

Codger
22
Years of Service
User Offline
Joined: 23rd Nov 2002
Location:
Posted: 5th Jun 2007 03:22
FINNMAN

I think this example will demonstrate how to attract all objects to a point. Specifically the Gravity function.



Codger

p.s I included the rest of the program as i really like the way it looks

System
PIV 2.8 MZ 512 Mem
FX 5600 256 mem
FINN MAN
20
Years of Service
User Offline
Joined: 2nd May 2004
Location:
Posted: 11th Jun 2007 03:58
Codger
22
Years of Service
User Offline
Joined: 23rd Nov 2002
Location:
Posted: 12th Jun 2007 06:58
Your welcome

System
PIV 2.8 MZ 512 Mem
FX 5600 256 mem

Login to post a reply

Server time is: 2024-11-24 19:56:27
Your offset time is: 2024-11-24 19:56:27