Problem 164

Summary: I can't change the gun-position
Product: Examples/Basic and Novice Reporter: Alexander.Dietz
Component: N03Assignee: Michel.Maire
Status: RESOLVED INVALID    
Severity: normal    
Priority: P2    
Version: 1.1   
Hardware: All   
OS: Linux   

Description Alexander.Dietz 2000-10-11 03:26:18 CEST
I tried in the exampleN03 (interactive) to change the gun-position (for example,
I typed '/gun/position 700 700 700 cm', but when starting some particles I
cannot see any different. It seems that the starting position didn't change. So
what can I do?
Comment 1 Gabriele Cosmo 2000-10-13 01:43:59 CEST
The gun position in example N03 is either fixed or set to be random, see
ExN03PrimaryGeneratorAction::GeneratePrimaries(). You should modify that
method if you want to fix the primary position by yourself.
However, the /gun/position command in this case should be overridden in the
PrimaryGeneratorMessenger and deactivated...