Untrue
11-16-2010, 12:09 PM
Hello everyone, I come from UE1 and I thought I'd feel familiar with the UDK..
But surely I must be missing something, The only way to edit defaultproperties is now through Script?
The editor does not rebuild scripts? and has to be restarted?
On to my actual problem,
I'm having problems setting the CollisionHeight of a Cylinder Component.
The GamePawn has this little snippet in the default properties:
begin object Class=CylinderComponent Name=CylComponent
CollisionRadius = 30
CollisionHeight = 28
end object
Components.Add(CylComponent)
CylinderComponent = CylComponent
For some reason the collisionheight is always 78, and the radius is 34.
I have tried to set the bounds directly
begin object Class=CylinderComponent Name=CylComponent
Bounds = (Origin=(X=0,Y=0,Z=0),
BoxExtent=(X=30.000000,Y=30.000000,Z=28.000000),
SphereRadius=55)
end object
But I'm still left with a collisionheight of 78.
When I start the game and write console command "editactor class=pawn"
Setting the collisionheight works as expected.
So what exactly determines the collisionheight? Thanks.
But surely I must be missing something, The only way to edit defaultproperties is now through Script?
The editor does not rebuild scripts? and has to be restarted?
On to my actual problem,
I'm having problems setting the CollisionHeight of a Cylinder Component.
The GamePawn has this little snippet in the default properties:
begin object Class=CylinderComponent Name=CylComponent
CollisionRadius = 30
CollisionHeight = 28
end object
Components.Add(CylComponent)
CylinderComponent = CylComponent
For some reason the collisionheight is always 78, and the radius is 34.
I have tried to set the bounds directly
begin object Class=CylinderComponent Name=CylComponent
Bounds = (Origin=(X=0,Y=0,Z=0),
BoxExtent=(X=30.000000,Y=30.000000,Z=28.000000),
SphereRadius=55)
end object
But I'm still left with a collisionheight of 78.
When I start the game and write console command "editactor class=pawn"
Setting the collisionheight works as expected.
So what exactly determines the collisionheight? Thanks.