basic movement

rex64

Newbie
Joined
May 26, 2005
Messages
106
Reaction score
0
What are the easiest ways to have a object constantly rotating (like a gear). Also, I would like swinging objects (like pendulum), and moving objects (like a car). What are the best methods to do these movements? Thanks.
 
A phys_motor can attempt to spin an object. A func_rotating will spin perpetually even if there's something in the way or not.

A pendulum could be done easily by constraining an object with a phys_hinge.

Physical objects are typically prop_physics (model) or func_physbox (brush) entities. Objects that move on their own are func_tracktrains or any vehicle entity.
 
name

How do I name a brush (actualy 2+ burshes) so that I can use them with physics motor? I tried making it a func_wall, but it did not rotate. Also, my framerates with the 2 brushes was 4-8 FPS. U should see the budget, it is a solid pink block all the way to the top. Swap Buffer is full :)

Do all these objects work with multiplayer?

Actually, I think something is wrong with something I did. check this out:
map dm_clockworks
Spawn Server dm_clockworks
env_cubemap used on world geometry without rebuilding map. . ignoring: stone/stonefloor006d
Begin loading faces (loads materials)
End loading faces (loads materials)
Couldn't find texture maps/dm_clockWorks/cubemapdefault
execing skill.cfg
Executing listen server config file
Error reading weapon data file for: weapon_citizensuitcase
Error reading weapon data file for: weapon_citizenpackage
Error reading weapon data file for: weapon_bugbait
Error reading weapon data file for: weapon_annabelle
CInstancedSceneResourceManager: 1096 .vcds total 0 bytes, 0.00 % of capacity
Created class baseline: 6 classes, 665 bytes.
2 player server started
couldn't exec listenserver.cfg
Client Rex64 connected (127.0.0.1:27005).
Node Graph out of Date. Rebuilding...
Connected to 127.0.0.1:27015
Compressing fragments (17433 -> 8378 bytes)

Deathmatch
Map: dm_clockworks
Players: 1 / 2
Build 2459
Server Number 2
FCVAR_CHEAT cvars reverted to defaults.
FCVAR_CHEAT cvars reverted to defaults.
FCVAR_CHEAT cvars reverted to defaults.
SetConVar: sv_skyname = "sky_wasteland02"
SetConVar: sv_cheats = "1"
Initializing renderer...
Level unlit, setting 'mat_fullbright 1'
Couldn't find customization file 'sound/player/jingle.wav'.
Compressing fragments (1510 -> 1509 bytes)
Compressing fragments (2351 -> 1419 bytes)
Rex64 connected
Signon traffic "CLIENT": incoming 11.981 Kb, outgoing 799 bytes
0:Stopped sound UI/buttonclickrelease.wav
Dropped Rex64 from server
Reason: Disconnect by user.
 
You want func_physbox so that the brushes can move.
 
phys_motor

Is there a way to use phys_motor with brushes? Is there a easy way to make models? A free program? I do not have 3D Studio. Also, what are the errors I was getting? I think they are causing it to run bad.
 
Back
Top